If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
cannot connect to mysql database  XML
Forum Index » Support Forum
Author Message
Ron_ofzo
Beginner
[Avatar]

Joined: 24/09/2004 13:36:41
Messages: 11
Location: Netherlands
Offline

Hi there,



I've stumbled on some problems and i don't know what to do.
could anyone please help me?
In my controlpanel the next errorline occurs:

PHP $dbh=mysql_connect ("localhost", "bullterr_agbook1", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("bullterr_agbook1");

Can i solve this without losing all my information in the perl database?
I don't see any css files either. Without solving this problem, i can't alter the font type and color i use.

Thanks already.

Greetings
Ronald Hendriksen
amber222
Graduate

Joined: 07/05/2004 21:13:07
Messages: 586
Offline

Problem with the db info. Here is a link to information about this error:

http://us4.php.net/mysql_select_db

If you need more help, you can email me.
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

You don't say what this is for. Anyway check that you have put the write information into the config file. Sometimes on virtual hosting you need to specify a full server path as the SQL server is not localhost.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum