Trouble upgrading to 4.0 on Mandrake Linux

2003-03-18 Thread Hal Vaughan
I am running Mandrake Linux 8.2, with the RPMs upgraded to 9.0.  It had MySQL 
3.23 running on it.

I downloaded the current version of 4.0 from mysql.com tonight and isntalled 
it.  I changed the old files from /usr/share/mysql to /usr/share/mysql3.23 
and /var/lib/mysql to /var/lib/mysql3.23 (where the databases are stored).

I created a new /usr/share/mysql and unpacked the MySQL 4.0.x tarball into the 
directory, then followed the install instructions (basically changing 
/usr/local/ to /usr/share/ in bin/mysqlaccess and running 
scripts/mysql_install_db).  I copied the 4.0 executables to /usr/bin (which I 
did without thinking -- realizing I forgot to backup the original 3.23 
binaries in that directory -- my big mistake).

Now when I type

mysqld_safe --user=mysql 

the daemon starts, but I get another message almost immediately that it is 
exiting.

What's wrong and what do I need to do to get 4.0 working?  Why is the daemon 
quitting on me?

Is anyone else using Mandrake and encountering similar problems?

Thanks!

Hal

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



Re: Trouble upgrading to 4.0 on Mandrake Linux

2003-03-18 Thread Daniel Kasak
Hal Vaughan wrote:

I am running Mandrake Linux 8.2, with the RPMs upgraded to 9.0.  It had MySQL 
3.23 running on it.

I downloaded the current version of 4.0 from mysql.com tonight and isntalled 
it.  I changed the old files from /usr/share/mysql to /usr/share/mysql3.23 
and /var/lib/mysql to /var/lib/mysql3.23 (where the databases are stored).

I created a new /usr/share/mysql and unpacked the MySQL 4.0.x tarball into the 
directory, then followed the install instructions (basically changing 
/usr/local/ to /usr/share/ in bin/mysqlaccess and running 
scripts/mysql_install_db).  I copied the 4.0 executables to /usr/bin (which I 
did without thinking -- realizing I forgot to backup the original 3.23 
binaries in that directory -- my big mistake).

Now when I type

mysqld_safe --user=mysql 

the daemon starts, but I get another message almost immediately that it is 
exiting.

What's wrong and what do I need to do to get 4.0 working?  Why is the daemon 
quitting on me?

Is anyone else using Mandrake and encountering similar problems?

Thanks!

Hal
 

There should be an error log. I'm not sure where it goes for a binary 
installation.
Mine is /usr/local/mysql/var/hostname.err
Maybe in /var/lib/mysql somewhere
Anyway, look for your_hostname.err somewhere.
Probably you don't have directory permissions set up properly. See the 
INSTALL-SOURCE file for details of how to set the permissions. It's 
around 20-30% through the file.

--
Daniel Kasak
IT Developer
* NUS Consulting Group*
Level 18, 168 Walker Street
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: [EMAIL PROTECTED]
website: www.nusconsulting.com
-
Before posting, please check:
  http://www.mysql.com/manual.php   (the manual)
  http://lists.mysql.com/   (the list archive)
To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php