------------------------------------------------------------------------ -------
G5-Computer:/usr/local/mysql martyray$ sudo ./bin/mysqld
Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
040212 17:02:44 Aborting
040212 17:02:44 ./bin/mysqld: Shutdown Complete
------------------------------------------------------------------------ -------
So I tried this:
------------------------------------------------------------------------ -------
G5-Computer:/usr/local/mysql martyray$ sudo ./bin/mysqld -u root
------------------------------------------------------------------------ -------
And received this response:
------------------------------------------------------------------------ -------
040212 17:03:07 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
040212 17:03:07 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 43634.
InnoDB: Doing recovery: scanned up to log sequence number 0 43634
040212 17:03:07 InnoDB: Flushing modified pages from the buffer pool...
040212 17:03:07 InnoDB: Started; log sequence number 0 43634
040212 17:03:07 Fatal error: Can't open privilege tables: Table 'mysql.host' doesn't exist
G5-Computer:/usr/local/mysql martyray$
------------------------------------------------------------------------ -------
Hope I didn't screw up too bad... 8)
Thanks for your help.
Marty Ray
On Feb 12, 2004, at 4:35 PM, Brent Baisley wrote:
I assume when you tried to start MySQL from the command line you used safe_mysqld. You may not be seeing the error messages that would tell you why it's not starting. Try starting mysql directly.
cd /usr/local/mysql
sudo ./bin/mysqld
You'll probably see an error message that is a bit more helpful.
On Feb 12, 2004, at 4:09 PM, Marty Ray wrote:
I just downloaded and installed mysql 4.1.1 on a Macintosh G5, but I cannot get it to start up. I first tried manual startup using the unix commands as detailed in the manual. I kept getting the message mysql shutting down before I could hit ctl-Z. Then when I tried to connect, it stated:
"ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"
I then tried installing the automatic startup routine, restarted the computer and running mysql and I get the same message.
-- Brent Baisley Systems Architect Landover Associates, Inc. Search & Advisory Services for Advanced Technology Environments p: 212.759.6400/800.759.0577
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]