I am getting this error "no database selected"
when I try to connect to mysql with phpmyadmin
or with my separate custom php appication.
It was working fine until I tried installing php-templates,
which I have now uninstalled. I have uninstalled and reinstalled mysql server and client, and uninstalled
and reinstalled mod_php4 with no success in solving
this problem.
The only other reference to my problem on the list makes reference to using mysql_db_query instead of
mysql_query which doesn't seem to make sense
in my case. (didn't work anyway). MySql, apache
and php all work independently. I had the load of the
*.so module in php.ini but I have since deleted php.ini
I am presently using;
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
which I am running on FreeBSD 4.5S
phpinfo is available at;
http://skytrackercanada.com/test.php
I have briefed the net with google with no success as
yet.
Any ideas?