Re: php-mysql question
+++ David Banning [19/07/02 18:25 -0400]: Still stuck - I am getting this error no database selected when I try to connect to mysql with phpmyadmin or with my separate custom php appication. (1) Can you log in with just plain old 'mysql'? Then check your config in your phpmyadmin config file to use the same connection method you use with the mysql command. I have deleted /usr/local/etc/php.ini so it should be running on the default parameters. Presently I am running; mod_php4-4.2.1_2 mysql-client-3.23.51 p5-Mysql-modules-1.2216 (do I need this?) mysql-server-3.23.51 on FreeBSD 4.5S Anyone got any ideas? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
php-mysql question
I just attempted to install php-templates. That seemed to install a newer version of mod-php4 from the ports. It seems that apache, ssl, php and mysql all work, but I cannot access mysql through php anymore. How does php know where to find the database structure of mysql? I have never had a php.ini, as I just went by the defaults. I wonder whether the defaults have changed in newer releases? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message