Argh! Wonderful. Now I have broken something else. I just restarted the machine and now MySQL won't start. I keep getting the error:
030925 10:30:10 mysqld started 030925 10:30:10 InnoDB: Operating system error number 13 in a file operation. InnoDB: See http://www.innodb.com/ibman.html for installation help. InnoDB: The error means mysqld does not have access right to InnoDB: the directory. InnoDB: File name ./ibdata1 InnoDB: Fire operation call: 'open'. InnoDB: Cannot continue operation 030925 10:30:10 mysqld ended I went and checked the entire /var/lib/mysql directory structure and everything (including ibdata1) is set to root:mysql 755 I am going to headbut the screen in a minute! -----Original Message----- From: Donald Tyler [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 10:32 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] mysql.sock file location Yes, I ping it and it says its alive. -----Original Message----- From: Brad Pauly [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 10:07 AM To: Donald Tyler Cc: [EMAIL PROTECTED] Subject: Re: [PHP] mysql.sock file location Donald Tyler wrote: > Yeah I thought so to. But I did a chmod 755 on the sock file and it > didn't help. > > Here's the test script I am using: (Presume that's what you meant by > "connection string"? > > <?PHP > > if($Connection = mysql_connect('localhost', '******', '******')) > print 'Success!'; > else > print 'Failure'; > > ?> Are you sure the MySQL server is running? Can you connect from the command line using the same credentials as above? - Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php