New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Unable to install mysql

Got problems with Bubba? Then this forum is for you.
Locked
GettinSadda
Posts: 56
Joined: 22 Jan 2008, 06:06

Unable to install mysql

Post by GettinSadda »

I have read most of the info here on mysql and still can't get it to work!

I'm not a Linux noob, but I don't know that much (e.g. I don't know how to read the syslog under Debian!)

Code: Select all

bubba:/home/gettinsadda# apt-get install mysql-server
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  mysql-server
0 upgraded, 1 newly installed, 0 to remove and 45 not upgraded.
Need to get 0B/3481kB of archives.
After unpacking 7946kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package mysql-server.
(Reading database ... 14469 files and directories currently installed.)
Unpacking mysql-server (from .../mysql-server_4.0.24-10sarge3_arm.deb) ...
Setting up mysql-server (4.0.24-10sarge3) ...
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld...failed.
        Please take a look at the syslog.
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Note that this is the second time I have tried - I got the same result the first time so decided to remove and reinstall - you are seeing the result of the reinstall.

Anyone know what is wrong?
GettinSadda
Posts: 56
Joined: 22 Jan 2008, 06:06

Post by GettinSadda »

Update: Found it!

A typo in my.cnf caused the daemon to not start!
Locked