1
GregD
Could not connect the database serve - win2k
  • 2004/9/17 5:36

  • GregD

  • Just popping in

  • Posts: 1

  • Since: 2004/9/17


Hi folks,
I'm installing XOOPS on a web server to which I have root access. Win 2000.

The empty mySQL database is created automatically by my server control panel when I create the hosting account.

I use http://www.navicat.com to edit the database & permissions. I created a user called username@% and assigned full permissions to the appropriate database.

After trying both the master admin username and password, as well as those of the domain owner, I get the "Could not connect the database server" message.

For Hostname I used "localhost" as well as my server IP.

The rest of the entries are easily verified, and are clearly correct.

Any ideas?

TIA


2
Dave_L
Re: Could not connect the database serve - win2k
  • 2004/9/17 13:23

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


You might try this standalone test script, to see if you get the same result. Fill in the values for DBHOST, DBUSER and DBPASS.


error_reporting
(E_ALL);

define('DBHOST''');
define('DBUSER''');
define('DBPASS''');

$link mysql_connect(DBHOSTDBUSERDBPASS) or die('Could not connect: ' mysql_error()); 
print (
'Connected successfully'); 
mysql_close($link);

?>

Login

Who's Online

320 user(s) are online (234 user(s) are browsing Support Forums)


Members: 0


Guests: 320


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits