simonj Posted February 6, 2007 Share Posted February 6, 2007 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 Link to comment https://forums.phpfreaks.com/topic/37311-problem-with-phpxml-mysql-database-cdatabaseselectdb-error/ Share on other sites More sharing options...
trq Posted February 6, 2007 Share Posted February 6, 2007 CDatabase is not part of the standard php library, were going to need alot more detail. Where did you get CDatabase from for starters? And does it have any error handling that your aware of that will give us a more detailed error? Link to comment https://forums.phpfreaks.com/topic/37311-problem-with-phpxml-mysql-database-cdatabaseselectdb-error/#findComment-178334 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.