Jump to content

Problem with PHP/XML & MySql Database - CDatabase::SelectDB() error


simonj

Recommended Posts

 

I am relatively new to PHP develoment and have set up a website using PHP opensource files. I have set up my MySql databse but keep getting this error when trying to look at the files online "CDatabase::SelectDB() error" The PHP files link to and site.xml document to link to the database, which includes this code:

<database type="mysql">

<server>localhost</server>

<login>my login name</login>

<password>my password</password>

<default>jobs</default>

</database>

I have tried several variation of the server name aswell as the full databse name.

Does anyone have an idea of what it could be.

 

Thanks

Simon

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.