Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-16-2005, 10:27 AM   #1
LQ Newbie
Registered: Jan 2004
Location: Canada
Distribution: RedHat / Ubuntu
Posts: 9

Rep: Reputation: 0
Problems upgrading MySQL on Ubuntu, with Apache2/PHP4

Greetings all,

I'm trying to upgrade mySQL on an Ubuntu server. The previous version of MySQL was 3.23.56, running alongside Apache2 and PHP4. I wanted to upgrade MySQL, so I apt-get'ed the relevant packages:

$ sudo apt-get install mysql-server-4.1
$ sudo apt-get install php4-mysql

Everything should be hunky-dory, so I check out phpinfo.php - but this tells me I'm still using MySQL 3.23.56:

MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 3.23.56
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient

Weirder still, is when I log into phpmyadmin, it greets me with "Welcome to phpMyAdmin... MySQL 4.1.10a-Debian_2ubuntu..."
So at least, this seems to recognize the new version.

Have I missed some important step here? It seems that the upgrade of mysql worked, but that PHP isn't aware of the newer version. Any help would be greatly appreciated!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache2 and php4 in Debian swmok Debian 1 06-09-2005 06:21 PM
apache2 + php4 package problems atheist Debian 4 10-25-2004 10:22 PM
apache2 + php4 atheist Linux - Software 6 10-25-2004 04:12 PM
apache2 prefork + php4 + mysql rymonree Linux - Software 1 09-06-2003 03:03 PM
Apache2 and php4 problems configuring linoob Linux - General 2 07-01-2003 06:21 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:19 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration