EviLBoX
10-07-2002, 04:27 PM
I'm using Red Hat 7.3 and I have successfully installed Apache/PHP/MySQL.
I have several different databases created in the var directory, one of which is test_database that was provided when I installed MySQL, and the other being mydb that I created. Both databases appear identical as I do an "ls -l" to see the attributes. Connecting directly through MySQL I can access both databases and perform querys on them, but when I try to connect through PHP, I can only connect to the test_database, not the one I created mydb. Anyone have any clue as to why I can't connect to "mydb" through PHP? I'm assuming it might have something to do with access rights? I don't know.... Thanks.
I have several different databases created in the var directory, one of which is test_database that was provided when I installed MySQL, and the other being mydb that I created. Both databases appear identical as I do an "ls -l" to see the attributes. Connecting directly through MySQL I can access both databases and perform querys on them, but when I try to connect through PHP, I can only connect to the test_database, not the one I created mydb. Anyone have any clue as to why I can't connect to "mydb" through PHP? I'm assuming it might have something to do with access rights? I don't know.... Thanks.