List:General Discussion« Previous MessageNext Message »
From:J.R. Bullington Date:February 15 2005 5:58pm
Subject:RE: Unable to start MySQL
View as plain text  
2 things --

1) Permissions on your /mysql/data/ directory. 
	User mysql needs to have ownership, group mysql needs to have ownership as well.

shell> groupadd mysql
shell> useradd -g mysql mysql
shell> chown -R root /path/to/mysql/.
shell> chown -R mysql /path/to/mysql/data/.
shell> chgrp -r mysql /path/to/mysql/.

2) Check the <hostname>.err file. It will tell you why you are getting those errors.
More than
likely the permissions.

J.R.



-----Original Message-----
From: Jason Williard [mailto:jason@stripped] 
Sent: Tuesday, February 15, 2005 12:33 PM
To: mysql@stripped
Subject: Unable to start MySQL

Hello,

I have been trying to install and run MySQL on a Redhat Enterprise machine.
The installation appears to go just fine, but when I go to run it, MySQL doesn't startup. 
Here is
what I have done so far:

INSTALLATION:
./configure --with-openssl=/usr/local/ssl --with-openssl-includes=/usr/local/ssl/include
--with-openssl-libs=/usr/local/ssl/lib --with-isam --with-archive-storage-engine
--with-csv-storage-engine make && make install /usr/bin/mysql_install_db
--user=mysql

After doing the above, I tried running MySQL with the following commands:
/usr/bin/safe_mysqld &
/usr/bin/safe_mysqld --user=mysql &

Each of these resulted in this sort of response:
---
[root@web11-ev1 usr]# /usr/bin/safe_mysqld --user=mysql & [1] 14204
[root@web11-ev1 usr]# Starting mysqld daemon with databases from /var/lib/mysql
050215 11:31:25  mysqld ended


[1]+  Done                    /usr/bin/safe_mysqld --user=mysql
[root@web11-ev1 usr]#
---

Any assistance with this would be greatly appreciated.

---
Thank You,
Jason Williard



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=1


Thread
Unable to start MySQLJason Williard15 Feb
  • RE: Unable to start MySQLJ.R. Bullington15 Feb