Page 1 of 1

upgrading to mysql 5

Posted: Wed Aug 30, 2006 12:35 am
by pedrotuga
i am currently using mysql4 on debian (ubuntu), i need to update to mysql5, i heard i need to recompile php... do i?

cant i simply install them using apt

or update maybe... like

Code: Select all

sudo apt-get update mysql
will i lose my datatabases? (they are backed up anyway)

Posted: Wed Aug 30, 2006 12:38 am
by RobertGonzalez
Updating should not so anything to your current databases. But, to be sure, you should carry a back up. The only thing that might be affected in PHP by a MySQL upgrade is the MySQL client API version.

Posted: Wed Aug 30, 2006 12:59 am
by pedrotuga
Everah wrote:Updating should not so anything to your current databases. But, to be sure, you should carry a back up. The only thing that might be affected in PHP by a MySQL upgrade is the MySQL client API version.
lets check up if works then

Posted: Wed Aug 30, 2006 1:58 am
by pedrotuga
mmm... a stupid question... how do i turn off mysql-server?

Posted: Wed Aug 30, 2006 2:07 am
by darodesign
-path-to-your-mysql-binary/bin/mysqld stop

or killall mysqld ( mysqld_safe )
path to your mysql bin you casn get with whereis mysql.

Posted: Wed Aug 30, 2006 4:41 pm
by pedrotuga
darodesign wrote:-path-to-your-mysql-binary/bin/mysqld stop

or killall mysqld ( mysqld_safe )
path to your mysql bin you casn get with whereis mysql.
thanks