[PHP-DB] Undefined function mysql_connect

2004-01-04 Thread Richard Bewley
Hi, I compiled mySQL 4.0.16 from source, and installed PHP 4 off the RH9 cd. I also have the php-mysql-4.2.2-17 rpm installed. But for some reason, I keep getting call to undefined function mysql_connect, and it won't connect to the mysql database. Any ideas? Thanks, Richard -- PHP Database

RE: [PHP-DB] MySQL Logging

2004-03-13 Thread Richard Bewley
Hi, You could do something like tail -n25 /var/log/mysqld.log | mail -s "Database Logs" [EMAIL PROTECTED], and run it in cron. For logging, if you want to log queries, you would use mysqld --log=/var/log/queries.log, but I'm not sure this is the type of logging you're looking for. What might be