Posted on: 08/18/05 10:22pm
By: Anonymous (ahijado)
Anyone know what this Fatal Error message means after running Step 1 of the install.php means?
Fatal error: Call to undefined function mysql_connect() in C:/geeklog/system/databases/mysql.class.php on line 112
I assume that somehow I'm not passing the correct host, username, and password to mysql.class.php, or I'm not passing those values at all to the php file. I'm not an expert with MySQL, but I did install MySQL Administrator, after installing the MySQL server, and created a new user, a password, and a new catalogue called "geeklog". This is the info that I put into config.php as per the installation instructions. I know that the new username works as I've logged into the MySQL server using MySQL Administrator.
Any other suggestions?
Thanks for your help.
Fatal error: Call to undefined function mysql_connect() in C:geeklogsystemdatabasesmysql.class.php o
Posted on: 08/19/05 01:59am
By: Dirk
Your PHP is missing support for MySQL. Build a version that includes it or ask your hosting service / administrator to do it for you.
bye, Dirk
Fatal error: Call to undefined function mysql_connect() in C:geeklogsystemdatabasesmysql.class.php o
Posted on: 08/19/05 10:14am
By: Anonymous (ahijado)
I was able to load the functions in my php installation successfully. Unfortunately, now I get a new message when running the install.php file:
error selecting database
This is probably another MySQL and config.php problem associated with my lack of knowledge in administering the MySQL databases.
Thanks again for your previous help. PHP.net had all the necessary docs.
ahijado
libmysql.dll file changes
Posted on: 08/19/05 11:30am
By: Anonymous (ahijado)
I forgot to mention that in order to get MySQL working with PHP I followed the directions on a post in PHP website (1st one at the bottom of the page) listed as "Database issues"
http://us3.php.net/manual/en/faq.databases.php#faq.databases.mysql.php5
It said to rename other libmysql.dll files found in other harddrives, not including the libmysql.dll found in the PHP directory. After doing this I got the error message I just posted. I had to also leave the libmysql.dll file with the same name under the MySQL Admin directory or I wouldn't be able to use the MySQL Admin program.
Thanks,
ahijado
Fatal error: Call to undefined function mysql_connect() in C:geeklogsystemdatabasesmysql.class.php o
Posted on: 08/19/05 01:38pm
By: Dirk
[QUOTE BY= ahijado] error selecting database[/QUOTE]
Either the database does not exist (did you create one?) or its name you entered in config.php is not correct.
bye, Dirk
database problem fixed
Posted on: 08/19/05 03:15pm
By: Anonymous (ahijado)
I took a look in MySQL Administrator and realized that the database I created for geeklog did not have any priviledges assigned to it. I fixed that and the Geeklog install worked great. Thanks for all your help. Now the real fun starts.
ahijado