Thread: MYSQL 's fault?
View Single Post
  #2   (View Single Post)  
Old 14th October 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

Oddly, you don't mention anything about your network.


It might just have been my time spent shouting WTH are these exceptions from when using Rubies Net::* classes under Win32 with a restrictive firewall; but I would be inclined to believe either your system is refusing the connection or mysqld is spiting on you.


Out of curiosity, what happens when you try to connect via a mysql client?
Code:
$ mysql -u youruser -h yourdbhost -p yourdb
   ...
Does the user/db combo you have set in your program have the necessary access rights? As my Grandfather would probably say... If the lamp won't turn on, check if it's unplugged before you throw out the lightbulb.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote