Hi there,
I'mve just installed zoneminder and think I have everything setup as I'm meant to. I had a few issues with the mysql part, but I'm not sure. After getting the following error I think I might. I can see the zm database in mysql as being created.
When I goto
http://mywebserver/zm
I get this
Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/zm/zm_db.php on line 22
Any pointers?
Fatal error: zm_db.php on line 22
-
- Posts: 9
- Joined: Wed Aug 27, 2003 4:24 pm
Re: Fatal error: zm_db.php on line 22
Hi,
Depending on what Disto/release you're running, you'll need to install (in the case of RedHat 9) the php-mysql package. (Currently 4.2.2-17.2)
Hope this helps,
Erik.
Depending on what Disto/release you're running, you'll need to install (in the case of RedHat 9) the php-mysql package. (Currently 4.2.2-17.2)
Hope this helps,
Erik.
Re: Fatal error: zm_db.php on line 22
Hi Erik,
Thank you, that was the rpm I was missing for now :)
Since I posted that, I had reset the password to nothing on the server to see if that would fix it. It didn't...
I then installed the package above and got this error
Warning: Access denied for user: 'root@localhost' (Using password: YES) in /var/www/html/zm/zm_db.php on line 22
Could not connect to database: Access denied for user: 'root@localhost' (Using password: YES)
Which I knew why as I had reset the password to nothing, I reset it back and WOWLA I have the Console screen up. Now to work out how to drive it
Thank you, that was the rpm I was missing for now :)
Since I posted that, I had reset the password to nothing on the server to see if that would fix it. It didn't...
I then installed the package above and got this error
Warning: Access denied for user: 'root@localhost' (Using password: YES) in /var/www/html/zm/zm_db.php on line 22
Could not connect to database: Access denied for user: 'root@localhost' (Using password: YES)
Which I knew why as I had reset the password to nothing, I reset it back and WOWLA I have the Console screen up. Now to work out how to drive it