Hassan Schroeder wrote:

mm wrote:

There is a lot a pain here.
I downloaded the rpm packages


that's where the pain starts :-)

If you're trying to run multiple versions of MySQL for pre-migration
testing (or whatever), *don't use rpms* -- get the tar file of the
binary, and just untar it as /usr/local/mysql-4.1.12 or whatever.

It will be *so* much simpler to switch between the old and new, or
run them simultaneously as needed.

FWIW!

Thanks a lot.
Now I have 2 folders with 4.0 and 4.1 distribution. (/usr/local/mysql40, /usr/local/mysql41)
They said to upgrade from 3.23 to 4.0 and then from 4.0 to 4.1

2.7 Installing MySQL on Other Unix-Like Systems
...
 6. If you haven't installed MySQL before, you must create the MySQL
    grant tables:

what about 'Else' ?
-------------------

Finally I did start the server and mysql 4.0 with my database.

I did this by running my script mount-mysql
[EMAIL PROTECTED] mircea]#  ./mount-mysql
[EMAIL PROTECTED] mircea]# Starting mysqld daemon with databases from 
/var/lib/mysql

mount-mysql:
   mount --bind /mnt/120GB/mysql5 /var/lib/mysql
   cd /usr/local/mysql40 ; /usr/local/mysql40/bin/safe_mysqld &

[EMAIL PROTECTED] ~]$ /usr/local/mysql40/bin/mysql -u mircea -psome_pass  
-S/var/lib/mysql/mysql.sock
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 3 to server version: 4.0.24-standard

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>

Now, as I am yang in Linux, wish to understand what it is all about in:
mysql_install_db
mysql.server
mysql_setpermission
mysqld_safe  safe_mysqld
mysqlaccess
mysqlbug I have to read about bash suppose.

Thank you Hassan, Kishore, Gleb, and others for your help!
mt



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

Reply via email to