In a moment of mental weakness, I installed PHP4.0.4, Apache 1.3.19, and MySQL 3.23.36 on my laptop under Windows98. I also installed PHPMyAdmin 2.1.0.
I don't like Windows very much (and this exercise reminded my WHY I don't like Windows very much), but I have to use Windows for work reasons. So I'm trying to get some of the functionality of my preferred (Linux) computer. But I'm running into problems.
I can connect with the mysql command-line utility and manipulate the databases.
I also am able to connect to MySQL via PHP, but I can't get valid and consistent results.
For example, when I use phpMyAdmin, I can see the databases and their tables (if I open the DHTML widgets) in the left column. Obviously it's able to connect and SELECT.
However, if I click on the name of a database, I get a message "No tables found in database."
If I click on the name of a table within a database, I get a message "MySQL said: No Database Selected."
I am running PHP as a DSO module, not as a CGI.
Does any of this sound familiar?
I don't like Windows very much (and this exercise reminded my WHY I don't like Windows very much), but I have to use Windows for work reasons. So I'm trying to get some of the functionality of my preferred (Linux) computer. But I'm running into problems.
I can connect with the mysql command-line utility and manipulate the databases.
I also am able to connect to MySQL via PHP, but I can't get valid and consistent results.
For example, when I use phpMyAdmin, I can see the databases and their tables (if I open the DHTML widgets) in the left column. Obviously it's able to connect and SELECT.
However, if I click on the name of a database, I get a message "No tables found in database."
If I click on the name of a table within a database, I get a message "MySQL said: No Database Selected."
I am running PHP as a DSO module, not as a CGI.
Does any of this sound familiar?