Gh0st75 Posted December 2, 2005 Report Share Posted December 2, 2005 Hello, I recently posted this as a reply to another topic and it was suggested i start a new one. To recap i'm new to Uniform Server and thought it the best choice for my purposes. I'm new to webserving and want to set one up for the sole purpose of running a phpBB for a gaming guild. I've installed the Uniform Server software and followed the instructions. I am able to access my index.html file, as well as the test.php file i created. However i am unable to access my testmysql.php file. It was suggested that the problem might be with the code of my test file. Perhaps someone could recommend a simple test code i can make a file of for testing. I am able to access phpMyadmin without any difficulties, and it currently has the databases "test", "phpmyadmin", "mysql", and the one i created for my forum "phpbb". When i try to run the phpbb install it gives me a database error that says: Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'myrouter's ip' (10061) in D:\webserver\phpBB2\db\mysql4.php on line 48 Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in D:\webserver\phpBB2\db\mysql4.php on line 330 Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in D:\webserver\phpBB2\db\mysql4.php on line 331phpBB : Critical Error Could not connect to the database The testmysql.php file give me this error when i try to access it: Parse error: syntax error, unexpected T_DNUMBER in D:\webserver\testmysql.php on line 5 Line 5 consists of : mysql_connect("router ip without the quotations"); Any idea what i'm doin wrong? Thanks Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted December 2, 2005 Report Share Posted December 2, 2005 Your MySQL server should be 'localhost' and not router's ip. Good Luck Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
Gh0st75 Posted December 2, 2005 Author Report Share Posted December 2, 2005 Your MySQL server should be 'localhost' and not router's ip. Good Luck 2010[/snapback] I just made that change and now i get this error when i try to install phpbb: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in D:\webserver\phpBB2\db\mysql4.php on line 48 Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in D:\webserver\phpBB2\db\mysql4.php on line 330 Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in D:\webserver\phpBB2\db\mysql4.php on line 331phpBB : Critical Error Could not connect to the database It's probably something very simple i'm missing, i hate bein dumb at this stuff. Quote Link to comment Share on other sites More sharing options...
Gh0st75 Posted December 2, 2005 Author Report Share Posted December 2, 2005 oh good lord, i just poked around some more looking for something simple i may have overlooked. I had been following the phpbb's support site walkthru for installing phpbb on uniform server and it told me i didn't need to enter a password. So, i didn't enter one. After reading the error a second time and letting it sink in as a possible authorization error and not a code error, i tried to run the phpbb install using a password.....um it worked. Lesson learned, common sense must supercede pre-fab instructions. Thanks for the sounding board and for your help. Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted December 3, 2005 Report Share Posted December 3, 2005 No Problem Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.