LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 08-16-2005, 10:27 AM   #1
peruvianllama
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
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 3.23.56
MYSQL_MODULE_TYPE external
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!
 
  


Reply


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


All times are GMT -5. The time now is 06:17 AM.

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