Jump to content


Photo

MYSQL databse isn't working!


  • Please log in to reply
3 replies to this topic

#1 WormTongue

WormTongue
  • Members
  • PipPip
  • Member
  • 13 posts
  • LocationIllinois

Posted 28 July 2003 - 05:13 PM

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.
WHOHOO! I am now a Forum Regular!! :)

#2 WormTongue

WormTongue
  • Members
  • PipPip
  • Member
  • 13 posts
  • LocationIllinois

Posted 05 August 2003 - 03:31 PM

Bump!

i really need some help here. does anybody have any ideas?
WHOHOO! I am now a Forum Regular!! :)

#3 effigy

effigy
  • Staff Alumni
  • Advanced Member
  • 3,600 posts
  • LocationIL

Posted 06 August 2003 - 04:35 AM

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.
Regexp | Unicode Article | Letter Database
/\A(e)?((1)?ff(?:(?:ig)?y)?|f(?:ig)?)\z/

#4 WormTongue

WormTongue
  • Members
  • PipPip
  • Member
  • 13 posts
  • LocationIllinois

Posted 06 August 2003 - 03:21 PM

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?
WHOHOO! I am now a Forum Regular!! :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users