December 07InstancesComments
Display comments as
(Linear | Threaded)
Running multiple instances of different MySQL Versions with different configurations would be great ;)
I am currently running MySQL 4.0 on CentOS and want to concurrently run MySQL 4.1 and MySQL 5.0 on the same server.
I would also like to have the 3 different versions automatically stopping on system shutdown and starting up again on reboot. Does anyone know if this would be a hard thing to setup and how to do it? I have installed the mysql-5.0.16 binaries from the tarball in /usr/local giving the following configure statement: ./configure --with-tcp-port=3307 --with-unix-socket-path=/tmp/mysql.sock2 --prefix=/usr/local/mysql-5.0.16 However this has now caused my MySQL 4.0 server to not with phpmyadmin (I can, however, still access the database via the command line), and I'm not sure where to go from here...
Nick, the protocol has been upgraded from 4.0 to 5.0 - are you using "old_passwords" in your my.cnf and does the account you want to use still have an old, short password hash, all numbers with no "*" in front?
Hi Kristian,
Sorry about the late reply. I'm not sure which protocol you mean... I'm not 100% sure about how to run 2+ different versions of MySQL on the same machine, so I'm a little confused as to what should go in each my.cnf file. There are no passwords set in either of the my.cnf files. /etc/my.cnf looks like this: CODE: [mysqld] set-variable = max_connections=500 safe-show-database [mysqld3307] datadir = /usr/local/mysql-5.0.16 And /usr/local/mysql-5.0.16/my.cnf looks like this: CODE: [mysqld3307] server-id=3307 port=3307 socket=/usr/local/mysql-5.0.16/mysql.sock I've tried using mysql_multi like this: CODE: mysqld_multi stop 3307 mysqld_multi start 3307 mysqld_multi report 3307 Reporting MySQL servers MySQL server from group: mysqld3307 is not running but that doesn't seem to do anything. I have also downloaded the .src.rpm, edited the .spec file to point all /var/lib/mysql links to /usr/local/mysql-5.0.16, added the --port=3307 in the .configure statement and change the socket file to /usr/local/mysql-5.0.16/mysql.sock, but after building from source and trying to install the .rpm it throws up errors telling me that A LOT of files it's trying to write to already exist (ie., the files from the MySQL 4.0 install). This is proving to be more difficult than I had first thought... Doh! |
QuicksearchComments about An InnoDB tutorial Mon, 21.07.2008 11:13 I have a problem in deleting t he child table row from my app lication using unique id. when I am using the command [...] about Nermalisation Sat, 05.07.2008 16:08 The point is that you have the option to not do, but then yo u'll be in a world of pain. Th e point is also to show [...] about Nermalisation Fri, 04.07.2008 15:40 Nice little article, and I lik e how you've used cats in your examples :) I am a little unclear what the point h [...] about Salmiakki - the official MySQL Drink Sun, 08.06.2008 11:34 150g of liquorice are enough t o get the original Salmiakki t aste.... you can add some more , anyway about phpvikinger.org: Things that have no name Sun, 11.05.2008 06:34 In reply to "stuff with no nam es":very informative and succi nct. I am retired and need to learn to build a website [...] about What is the difference between MySQL and Postgres? Wed, 30.04.2008 14:08 what is the difference between MySql and PostgreSql? about Fortune Cookie Wed, 09.04.2008 21:46 What a random fortune, who kno ws what it means. My favorite random fortune cookie note rea ds "you will make a good [...] Categories
Blog AdministrationDisclaimerAll examples, code-snippets, advice, trivia, etc. are supplied in the hope that they are useful, but no warranty of any kind is given. Use of trademarks is not intended as a challenge to them.
ImpressumCopyright 2005-2007 bei den jeweiligen Autorinnen der Beiträge. Die Infrastruktur von MySQL-dump wird betrieben von:
Azundris, Immanuelkirchstraße 18, 710405 Berlin, Germany
|
So, das erste MySQL UG Treffen Rhein-Neckar in Heidelberg ist nun durch, und wenn man mal davon absieht daß ich viel zu viel geredet habe ist es hoffentlich ganz gut gelaufen. Einige Dinge, die ich beim Treffen angesprochen habe, will ich hier noch ei
Tracked: May 04, 06:05