RE: MySQL Error#: 2002
Assuming you copied and pasted the error, it looks like the host made a typo in the config file: '/var/lib/myswl/mysql.sock' Should probably be mysql, not myswl. -Original Message- From: Rick James [mailto:rja...@yahoo-inc.com] Sent: Monday, March 18, 2013 3:32 PM To: Patrice Olivier-Wilson; mysql@lists.mysql.com Subject: RE: MySQL Error#: 2002 Check directory permissions, and check out the 'answers' in here: http://forums.mysql.com/read.php?10,284776,284936 > -Original Message- > From: Patrice Olivier-Wilson [mailto:b...@biz-comm.com] > Sent: Monday, March 18, 2013 12:05 PM > To: mysql@lists.mysql.com > Subject: MySQL Error#: 2002 > > I have about 60 websites based on mysql and php. Suddenly they have > all gone blank, just white pages. The files are still on the server > and I can see the tables in all the databases via myphpadmin > interfact. I'm not getting any response from hosting gods yet. When I > try to connect to server via Dreamweaver, the error message is: MySQL > Error#: 2002 Can't connect to local MySQL server through socket > '/var/lib/myswl/mysql.sock'(111). > > I have one site that uses a different IP number that that site is ok. > My static sites, ie, no database inclusion, are ok. > > Any ideas what to look for, most appreciated. > > Regards, > > Patrice Olivier-Wilson > 828-628-0500 > http://Biz-comm.com > b...@biz-comm.com > > > "Everything will be alright in the end, so if it is not alright, it is > not yet the end." - Quote from movie: The Best Exotic Marigold Hotel > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql Notice: This communication may contain privileged and/or confidential information. If you are not the intended recipient, please notify the sender by email, and immediately delete the message and any attachments without copying or disclosing them. LBI may, for any reason, intercept, access, use, and disclose any information that is communicated by or through, or which is stored on, its networks, applications, services, and devices. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql
MySQL Error#: 2002
I have about 60 websites based on mysql and php. Suddenly they have all gone blank, just white pages. The files are still on the server and I can see the tables in all the databases via myphpadmin interfact. I'm not getting any response from hosting gods yet. When I try to connect to server via Dreamweaver, the error message is: MySQL Error#: 2002 Can't connect to local MySQL server through socket '/var/lib/myswl/mysql.sock'(111). I have one site that uses a different IP number that that site is ok. My static sites, ie, no database inclusion, are ok. Any ideas what to look for, most appreciated. Regards, Patrice Olivier-Wilson 828-628-0500 http://Biz-comm.com b...@biz-comm.com "Everything will be alright in the end, so if it is not alright, it is not yet the end." - Quote from movie: The Best Exotic Marigold Hotel -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql
RE: MySQL Error#: 2002
Check directory permissions, and check out the 'answers' in here: http://forums.mysql.com/read.php?10,284776,284936 > -Original Message- > From: Patrice Olivier-Wilson [mailto:b...@biz-comm.com] > Sent: Monday, March 18, 2013 12:05 PM > To: mysql@lists.mysql.com > Subject: MySQL Error#: 2002 > > I have about 60 websites based on mysql and php. Suddenly they have all > gone blank, just white pages. The files are still on the server and I > can see the tables in all the databases via myphpadmin interfact. I'm > not getting any response from hosting gods yet. When I try to connect > to server via Dreamweaver, the error message is: MySQL Error#: 2002 > Can't connect to local MySQL server through socket > '/var/lib/myswl/mysql.sock'(111). > > I have one site that uses a different IP number that that site is ok. > My static sites, ie, no database inclusion, are ok. > > Any ideas what to look for, most appreciated. > > Regards, > > Patrice Olivier-Wilson > 828-628-0500 > http://Biz-comm.com > b...@biz-comm.com > > > "Everything will be alright in the end, so if it is not alright, it is > not yet the end." - Quote from movie: The Best Exotic Marigold Hotel > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql
MySQL - ERROR 2002
Andrew, Tuesday, April 02, 2002, 10:06:42 AM, you wrote: A> I keep on getting the following error message when trying to connect to A> MySQL - ERROR 2002: Can't connect to local MySQL server through socket A> '/var/lib/mysql/mysql.sock' A> This can be fixed by creating a link from the /tmp/mysql.sock file. Which I A> have done and still get the same error A> I have searched on Google and on Mysql.com (plus a whole range of other A> Linux sites) and I realize the default directory for Mysql was the directory A> as it comes with RH7.2 - I have re-installed a newer version of MySQL with A> RPMs and still get the same error. A> Before I try re-install with the binary version has anybody had a similar A> problem ? 1. Is your MySQL server running? 2. Give me contents of your .err file. A> Thanks. A> Andrew -- For technical support contracts, goto https://order.mysql.com/ This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Victoria Reznichenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
MySQL - ERROR 2002
G'day, I keep on getting the following error message when trying to connect to MySQL - ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' This can be fixed by creating a link from the /tmp/mysql.sock file. Which I have done and still get the same error I have searched on Google and on Mysql.com (plus a whole range of other Linux sites) and I realize the default directory for Mysql was the directory as it comes with RH7.2 - I have re-installed a newer version of MySQL with RPMs and still get the same error. Before I try re-install with the binary version has anybody had a similar problem ? Thanks. Andrew - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
MySQL error 2002
I am getting this error ERROR 2002: Can't connect to local MySql server through socket '/var/lib/mysql/mysql.sock' (111) I am running redhat 7, apache, and PHP on this machine. It is preventing me from starting the sql server, however, I'm able to bypass this with safe_mysqld --skip-grant-tables Any idea how to fix this problem? Also, I'm a mySQL newbie. How does one add a database to mySQL? Where do I put it, is there something like the Windows DSN to set up? - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php