Can't connect to local MySQL server through socket '/tmp/mysql.sock' (46)

Can't connect to local MySQL server through socket '/tmp/mysql.sock' (46)

Post by Fearknot » Wed, 23 Aug 2006 10:34:51


I can't connect...I have th connection to the database form DW to the db....I can't get the server to connect. HELP!
 
 
 

1. Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) LEOPARD

2. Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) LEOPARD


Maybe I was doing it as the wrong user? I did this and got a
different message.
sh-3.2# ./bin/mysqld --user=_mysql
091228 16:50:37 [ERROR] Can't find messagefile '/usr/local/
mysql-5.1.40-osx10.5-powerpc/bin/share/english/errmsg.sys'
091228 16:50:37 [Warning] Setting lower_case_table_names=2 because
file system for /usr/local/mysql-5.1.40-osx10.5-powerpc/data/ is case
insensitive
091228 16:50:37 [Note] Plugin 'FEDERATED' is disabled.
../bin/mysqld: Unknown error 1146
091228 16:50:37 [ERROR] Can't open the mysql.plugin table. Please run
mysql_upgrade to create it.
091228 16:50:38 InnoDB: Started; log sequence number 0 44233
091228 16:50:38 [ERROR] Aborting

091228 16:50:38 InnoDB: Starting shutdown...
091228 16:50:39 InnoDB: Shutdown completed; log sequence number 0
44233
091228 16:50:39 [Note]

What is the mysql_update and the federated plugin?

3. ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

4. Seen this message? Can't connect to local MySQL server through socket '/tmp/mysql.sock'

5. Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/custcare/dbconn.inc on line 2

6. Reading Error: socket '/var/lib/mysql/mysql.sock'

7. Can't connect '/var/lib/mysql/mysql.sock' (13) - but not the usual suspects

8. Can't connect '/var/lib/mysql/mysql.sock' (13) - but not the usual suspects???

9. SN#23067 MySQL Server 5.1.46 and MySQL 5.5.4

10. connecting to local mySQL using MySQL Administrator

11. Unable to connect with local MySql thru Dreamweaver 8

12. Mac OS X keeps deleting my /tmp files (mysql.sock)

13. Using Python and Connecting to MySQL remotely WITHOUT MySQL installed on local computer

14. Mac OS X keeps deleting my /tmp files (mysql.sock)