Jump to content


Photo

mysql error 13: unable to read write localhost.pid


  • Please log in to reply
3 replies to this topic

#1 jacsmith510

jacsmith510
  • Members
  • Pip
  • Newbie
  • 7 posts

Posted 25 September 2003 - 10:31 AM

Dear Forums, am receiving Mysql error msg 13 unable to read/write localhost.pid. Have not been able to find localhost.pid file. Problem started after tried to start Apache and modified httpd.conf to make server name: 127.0.0.1 . Please post any suggestions, thanks

#2 effigy

effigy
  • Staff Alumni
  • Advanced Member
  • 3,600 posts
  • LocationIL

Posted 25 September 2003 - 03:57 PM

is this when you are starting mysql... if not, what are you doing?
have you ran a search for that file?

unix:

% su
(type root password)
# find / -name localhost.pid
Regexp | Unicode Article | Letter Database
/\A(e)?((1)?ff(?:(?:ig)?y)?|f(?:ig)?)\z/

#3 gizmola

gizmola
  • Administrators
  • Advanced Member
  • 4,664 posts
  • LocationLos Angeles, CA USA

Posted 25 September 2003 - 07:53 PM

It sounds like you the user you are starting mysql with does not have the permissions to create the mysql.pid file.

#4 jacsmith510

jacsmith510
  • Members
  • Pip
  • Newbie
  • 7 posts

Posted 25 September 2003 - 08:42 PM

Dear Forums, thanks much, I followed gizmola and effigy suggestions and launched the mysqld dameon as root user which resolved the permissions issue. thanks again




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users