|
|
|||
PHP, MySQL & JavaScript ; getting error 2002 in mysql following book to thwe dot
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
here the weird part: I got xampp as the book recommended and it say all servers are go! when i tried to type the line in 'mysql -u root -p', the machine told me to get the right packages. so i did sudo apt-get blah blah blah got the same result so i checked the directories, and 'lo! there is no .sock! even worse; there was no dir for it or anything! whence i looked around the net all the suggestions pointed to further places that dont exist! HELP!? running latest ubuntu laptop ... contemplating windows.... ugh thank you! -Amdrew 1 Reply
Comment by
rachel.j
: Jan 10 2012 08:28 AM
@ndros,
I'm sorry for the confusion. I'm forwarding this question to our book technical support group (booktech@oreilly.com) so they can help. Kind Regards, Rachel James O'Reilly Media |
|||
|