So it turns out that the RPM install didn't work nor did the binary version
but by rebuilding the source with a
configure --prefix=/usr/local/mysql   --- Well, that worked in the end. I
still don't know why but there it is. :)

Just thought I'd post my experience.

Cheers



-----Original Message-----
From: Cam [mailto:[EMAIL PROTECTED]
Sent: July 28, 2004 10:56 AM
To: [EMAIL PROTECTED]
Subject: mysql_safe just ends


So I'm a little confused here

I've installed mysql-standard-4.0.20-pc-linux-i686.tar to
/usr/local/mysql and then ran the scripts/mysql_install_db with
seemingly no errors.
After reading section 5.1 'the MySQL Server and Server Startup Scripts'
I figured that

cd /usr/local/mysql
bin/mysqld_safe &

would simply work but no. I get

[EMAIL PROTECTED] mysql]# bin/mysqld_safe &
[2] 11616
[EMAIL PROTECTED] mysql]# Starting mysqld daemon with databases from
/var/lib/mysql
040728 10:50:16  mysqld ended
[2]+  Done                    bin/mysqld_safe
[EMAIL PROTECTED] mysql]#

OK - so I thought well I'll just specify what I want. ....

[EMAIL PROTECTED] mysql]# bin/mysqld_safe --ledir=/usr/local/mysql/bin
--data=/usr/local/mysql/data --user=mysql &
[2] 11664
[EMAIL PROTECTED] mysql]# Starting mysqld daemon with databases from
/var/lib/mysql
040728 10:52:34  mysqld ended
[2]+  Done                    bin/mysqld_safe
--ledir=/usr/local/mysql/bin --data=/usr/local/mysql/data --user=mysql


So now in the end I'm confused.

1. Why does mysqld_safe simply start then immediately end? How do I
start mysql?
2. Why does it go to /var/lib/mysql for the data even when I specify
another location? For that matter where did it get that location? did
mysql_install_db do that?

Any help or direction would be greatly appreciated!!!!

Cheers

Cam





--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to