Hi all,
I am having problems getting connected to the mysql db. I am running phprunner 3.0 build 118 and mysql 3.23.58 on a centos 3.4 linux server. I am running php 4.3.2.
I have uploaded (this worked fine) phprunner.php in the web root directory and try to connect. I get the following error message:
"Cannot connect to the database. Failed to read server's response. Try to open your connection script in a browser."
In the browser I go to servername/phprunner.php, I get the connection script and enter server address = localhost, Username = root, Password = xxxxx, and click Connect I get this error: "Fatal error: Call to undefined function: mysql_connect() in /var/www/html/phprunner.php on line 42".
I have installed php_mysql also. I can get the database to come up using phpmyadmin just fine and can access the database via the command line using the above username and password successfully. I have also tried testdb.php as described at http://www.phplivesupport.com/documentatio...hp?aid=35&pid=1 per another post on this forum. Yet no success.
I get this when I run the phprunner generated app "Fatal error: Call to undefined function: mysql_connect() in /var/www/html/include/dbconnection.php on line 9". I see on the forum where this has been answered, but for windows, not linux.
I feel like I am missing something very basic in either mysql or php configuration. This is not the first time I have used phprunner and mysql. This is just the first time I am having problems connecting.
Still looking.
Thanks in advance.
Dave