Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Was ruuning fine until.........

Status
Not open for further replies.

tchatzi

Technical User
Dec 15, 2004
744
GR
I had 3.23, it was working fine.
I installed as root, and it used to start as root.

Now i used rpm -U package and it does not start.
What i get from /var/log/mysqld.log is
Code:
050611 10:57:37  mysqld started
050611 10:57:37 [Warning] Asked for 196608 thread stack, but got 126976
050611 10:57:37 [ERROR] Can't start server : Bind on unix socket: Permission denied
050611 10:57:37 [ERROR] Do you already have another mysqld server running on socket: /var/lib/mysql/mysql.sock ?
050611 10:57:37 [ERROR] Aborting

050611 10:57:37 [Note] /usr/sbin/mysqld: Shutdown complete

050611 10:57:37  mysqld ended
All files and folders that have to do with mysql have the folloing permissions
root:mysql foo
and in the file my.cnf has
Code:
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
     
[mysql.server]
user=root
basedir=/var/lib

[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
which are all correct......
where should i start from ..........?
Thanks


``The wise man doesn't give the right answers,
he poses the right questions.''
TIMTOWTDI
 
All files and folders that have to do with mysql have the folloing permissions
root:mysql foo
All you have to do is change it to
Code:
mysql:root foo


``The wise man doesn't give the right answers,
he poses the right questions.''
TIMTOWTDI
 
Thanks it did work.......!!!

LOLOLOL......



``The wise man doesn't give the right answers,
he poses the right questions.''
TIMTOWTDI
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top