On 11/12/10 05:06, support-request@drupal.org wrote:
You don't say how you installed MySql, but this message would appear to
indicate that MySql is not running.
On my Ubuntu laptop, from a terminal I did:
$ ps -ef | grep mysql mysql 25011 1 1 07:21 ? 00:00:05 /usr/sbin/mysqld 1000 28598 28579 0 07:26 pts/1 00:00:00 grep mysql
So, first off, is it running?
Odd.
Yep It's running. I've been creating other databases for use with python. ps -ef shows it running installed with apt-get Yes it is odd.
As someone stated in the original thread, it's likely you just need php5-mysql
sudo apt-get install php5-mysql
Cheers, Greg -- Greg Knaddison | 720-310-5623 | http://growingventuresolutions.com Mastering Drupal | http://www.masteringdrupal.com
On Fri, Dec 10, 2010 at 2:12 PM, Roger arelem@bigpond.com wrote:
On 11/12/10 05:06, support-request@drupal.org wrote:
You don't say how you installed MySql, but this message would appear to
indicate that MySql is not running.
On my Ubuntu laptop, from a terminal I did:
$ ps -ef | grep mysql mysql 25011 1 1 07:21 ? 00:00:05 /usr/sbin/mysqld 1000 28598 28579 0 07:26 pts/1 00:00:00 grep mysql
So, first off, is it running?
Odd.
Yep It's running. I've been creating other databases for use with python. ps -ef shows it running installed with apt-get Yes it is odd. -- [ Drupal support list | http://lists.drupal.org/ ]
On Fri, Dec 10, 2010 at 04:27:52PM EST, Greg Knaddison wrote:
As someone stated in the original thread, it's likely you just need php5-mysql
$ dpkg -l php5-mysql ii php5-mysql 5.2.6.dfsg.1-1+lenny9 ...
sudo apt-get install php5-mysql
On debian ‘lenny’: ‘apt-cache show drupal6’ gives me the following dependencies:
debconf (>= 0.5) | debconf-2.0, apache2 | httpd, php5, php5-mysql | php5-pgsql, php5-gd, ... etc.
How did you install drupal?
Unless the Ubuntu drupal package is buggy, an ‘apt-get install’ should have pulled in php5-mysql. If it did not, possibly less obvious things may have gone wrong as well, and you may run into other problems further on.
Not that I disagree with the other two posters who wrote that an ‘apt-get install php5-mysql’ is probably the way to go at this point.
But it wouldn't hurt to take a look at the apt logs in /var/log/apt/ and see if there are any unusual messages.
cj