WormTongue Posted July 28, 2003 Share Posted July 28, 2003 I just installed the mysql database on my RH 9.0 webserver. I did not install it to the default path, i installed it where i wanted it to go. Now, when i try to access the database through the web, i don\'t get any data. I can connect just fine, but nothing shows up. All i get is \"\"); } ?> \". I\'m thinking that i don\'t have the server configured correctly to point to the data when it starts. So, my question is where would i go about configuring mysql to look in the correct directory? I\'ve been editing some files that i think are the ones i need to change, but nothing has worked yet. Thanks for the help. Quote Link to comment Share on other sites More sharing options...
WormTongue Posted August 5, 2003 Author Share Posted August 5, 2003 Bump! i really need some help here. does anybody have any ideas? Quote Link to comment Share on other sites More sharing options...
effigy Posted August 6, 2003 Share Posted August 6, 2003 php was compiled to work with mysql, pointing to the directory where you installed mysql? if \"look in the correct directory\" implies finding the database, you can start mysql with the --datadir=/path/to/data switch. Quote Link to comment Share on other sites More sharing options...
WormTongue Posted August 6, 2003 Author Share Posted August 6, 2003 The way i start mysql right now is by this... /data/mysql/mysql/support-files/mysql.server start So, then i would need to start the sql database by this... /data/mysql/mysql/support-files/mysql.server start --datadir=/data/mysql/mysql/data Is this correct? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.