Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.
Moderator: General Moderators
pedrotuga
Forum Contributor
Posts: 249 Joined: Tue Dec 13, 2005 11:08 pm
Post
by pedrotuga » Wed Aug 30, 2006 12:35 am
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
will i lose my datatabases? (they are backed up anyway)
RobertGonzalez
Site Administrator
Posts: 14293 Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA
Post
by RobertGonzalez » Wed Aug 30, 2006 12:38 am
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.
pedrotuga
Forum Contributor
Posts: 249 Joined: Tue Dec 13, 2005 11:08 pm
Post
by pedrotuga » Wed Aug 30, 2006 12:59 am
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
pedrotuga
Forum Contributor
Posts: 249 Joined: Tue Dec 13, 2005 11:08 pm
Post
by pedrotuga » Wed Aug 30, 2006 1:58 am
mmm... a stupid question... how do i turn off mysql-server?
darodesign
Forum Newbie
Posts: 19 Joined: Mon Aug 28, 2006 8:58 am
Location: Berlin
Contact:
Post
by darodesign » Wed Aug 30, 2006 2:07 am
-path-to-your-mysql-binary/bin/mysqld stop
or killall mysqld ( mysqld_safe )
path to your mysql bin you casn get with whereis mysql.
pedrotuga
Forum Contributor
Posts: 249 Joined: Tue Dec 13, 2005 11:08 pm
Post
by pedrotuga » Wed Aug 30, 2006 4:41 pm
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