Jump to content
The Uniform Server Community

Gh0st75

Member
  • Posts

    5
  • Joined

  • Last visited

Gh0st75's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. 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.
  2. 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 331 phpBB : Critical Error Could not connect to the database It's probably something very simple i'm missing, i hate bein dumb at this stuff.
  3. 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 331 phpBB : 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
  4. My apologies, i will make a new post to inquire about my sql difficulties. Thanks
  5. Hello, I'm new to Uniform Server, only installed it yesterday. After factoring my router into the equation i was able to get apache and php working ok, but i'm still having trouble with mysql. I made a testmysql.php file that contained the following: <pre> <h3>Press RELOAD to add a record to the MySQL database:</h3> <? //establish user connection mysql_connect("routerip"); //open up database mysql_create_db(test); mysql_select_db(test); //create table mysql_query("CREATE TABLE newone(firstName VARCHAR(25), lastName VARCHAR(25))"); mysql_query ("INSERT INTO newone (firstName, lastName) VALUES ('John', 'Tester')"); //display the information $result = mysql_query ("SELECT * FROM newone"); while($row = mysql_fetch_array($result)) { print ("Added record: " . $row["firstName"]." ".$row["lastName"]."<br>\n"); } //close user connection mysql_close(); ?> </pre> So i make sure that MySQL has been started and then i try accessing the testmysql.php file and i get the following error: Parse error: syntax error, unexpected T_DNUMBER in D:\webserver\testmysql.php on line 5 Any suggestions? Thanks
×
×
  • Create New...