Forum Moderators: open

Message Too Old, No Replies

MySQL 5.0.67: Unable to install & run. Error /var/lib/mysql/mysql.sock

         

peteyperson

6:05 pm on Mar 4, 2009 (gmt 0)

10+ Year Member



Hi,

I have been unable to install MySQL 5.0.67 correctly. MySQL 5.1.31 also problematic.

Successfully ran 'mysql_install_db'.

You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &

cd /usr ; /usr/bin/mysqld_safe &
[1] 21074
linux-qj5v:/usr # nohup: ignoring input and redirecting stderr to stdout
Starting mysqld-max daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/lib/mysql/linux-qj5v.site.pid
090304 17:23:31 mysqld ended

I have tried running command: /usr/bin/mysql_secure_installation from Terminal in Root, and just 'mysql' in root.

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

I've tried installing via a .tar.gz file instead. This doesn't generate the icons in the menu for Admin, db design & query tools, and also won't run.

I can find references to this problem in various Google entries, but not a solution that fixes the issue. Anyone have any advice?

Thanks,
Petey

peteyperson

7:18 pm on Mar 4, 2009 (gmt 0)

10+ Year Member



IGNORE above. Cannot find option to delete. Solved issue, I think.

Thanks,
Petey