$ sudo service mysqld status
mysqld (pid 4428) is running…
$ sudo service httpd status
httpd (pid 3316) is running…
$ mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 11
Server version: 5.1.55 Source distribution
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.
mysql> use test
Database changed
mysql> \s
mysql Ver 14.14 Distrib 5.1.55, for redhat-linux-gnu (x86_64) using readline 5.1
Connection id: 11
Current database: test
Current user: liveuser@localhost
SSL: Not in use
Current pager: stdout
Using outfile: ‘’
Using delimiter: ;
Server version: 5.1.55 Source distribution
Protocol version: 10
Connection: Localhost via UNIX socket
Server characterset: latin1
Db characterset: latin1
Client characterset: latin1
Conn. characterset: latin1
UNIX socket: /var/lib/mysql/mysql.sock
Uptime: 1 hour 3 min 33 sec
Threads: 1 Questions: 67 Slow queries: 0 Opens: 30 Flush tables: 1 Open tables: 23 Queries per second avg: 0.17
[liveuser@localhost html]$ sudo tail -f /var/log/httpd/error_log
[Sat Mar 26 23:08:09 2011] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function mysql_connect() in /var/www/html/openemr/setup.php on line 237, referer: http://localhost/openemr/setup.php
I ran across this issue, too. I had an old mysql installation, which I purged and reinstalled in order to test with OpenEMR. I used a “dpkg -l php*” command which showed php-mysql as being uninstalled.
As you point out, this problem shows up as a mysterious “hang” during the installation script. Is there a way to make this fail with more info as to the cause? It’s not too hard to figure out, but there could be others being bothered by this.