[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] mysql question
- Subject: [cobalt-developers] mysql question
- From: "Shawn Guillemette" <shawn@xxxxxxxxxxxxxxx>
- Date: Thu Oct 23 12:20:00 2003
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
I recently have restored my cobalt RAQ4 to factor condition. After
installing all the updates for the service that I use on the device I
attempted to install mysql with this RMP
[root admin]# ls
mail MySQL-server-4.0.15-0.i386.rpm
I used rpm -i MySQL-server-4.0.15-0.i386.rpm
Now when attempting to set the mysql root passwd or attempting to connect to
the mysql server I get this
[root admin]# mysqladmin -u root -p password password
Enter password:
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock'
(111)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
mysql Seems to be running..
[root admin]# ps -ax | grep mysql
26833 pts/0 S 0:00 sh /usr/bin/safe_mysqld
26863 pts/0 S 0:00
/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql
26865 pts/0 S 0:00
/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql
26866 pts/0 S 0:00
/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql
26867 pts/0 S 0:00
/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql
26868 pts/0 S 0:00
/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql
26869 pts/0 S 0:00
/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql
26870 pts/0 S 0:00
/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql
26871 pts/0 S 0:00
/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql
26872 pts/0 S 0:00
/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql
26873 pts/0 S 0:00
/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql
and the /tmp/mysql.sock file seems to be there with the correct permissions
[root /tmp]# ls -la | grep mysql.sock
srwxrwxrwx 1 mysql root 0 Oct 21 16:08 mysql.sock
[root /tmp]#
the content of the file is blank though..
Any help would be great... I also read in forums that this question has been
asked a lot... how ever I was unable to locate a solution ..
thank you
Shawn