Can't connect error on createuser

Reply

Join Date: Feb 2005
Posts: 2
Reputation: MrTorch is an unknown quantity at this point 
Solved Threads: 0
MrTorch MrTorch is offline Offline
Newbie Poster

Can't connect error on createuser

 
0
  #1
Feb 22nd, 2005
I know the server is there, I used an install php to create the tables on the database. And Tables made it there. But this is what I get when I try to create a user. I'm Stumped.



Warning: mysql_connect(): Unknown MySQL Server Host '<mysql29.secureserver.net>' (2) in /home/content/J/D/e/JDenham/html/connect.php on line 25

Warning: mysql_query(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/content/J/D/e/JDenham/html/connect.php on line 28

Warning: mysql_query(): A link to the server could not be established in /home/content/J/D/e/JDenham/html/connect.php on line 28

Warning: mysql_query(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/content/J/D/e/JDenham/html/createnewuser.php on line 184

Warning: mysql_query(): A link to the server could not be established in /home/content/J/D/e/JDenham/html/createnewuser.php on line 184

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /home/content/J/D/e/JDenham/html/createnewuser.php on line 185

Warning: mysql_query(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/content/J/D/e/JDenham/html/createnewuser.php on line 195

Warning: mysql_query(): A link to the server could not be established in /home/content/J/D/e/JDenham/html/createnewuser.php on line 195

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/content/J/D/e/JDenham/html/createnewuser.php on line 196

Warning: mysql_query(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/content/J/D/e/JDenham/html/createnewuser.php on line 207

Warning: mysql_query(): A link to the server could not be established in /home/content/J/D/e/JDenham/html/createnewuser.php on line 207

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/content/J/D/e/JDenham/html/createnewuser.php on line 208

Warning: mysql_query(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/content/J/D/e/JDenham/html/createnewuser.php on line 214

Warning: mysql_query(): A link to the server could not be established in /home/content/J/D/e/JDenham/html/createnewuser.php on line 214
User Mr_Torch has been created successfully.
Click login at the top to login
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 2
Reputation: MrTorch is an unknown quantity at this point 
Solved Threads: 0
MrTorch MrTorch is offline Offline
Newbie Poster

Re: Can't connect error on createuser

 
0
  #2
Feb 22nd, 2005
I figured it out hehe I didn't have the right " " in and I forgot to remove < > geez
works fine now
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 31
Reputation: mcldev is an unknown quantity at this point 
Solved Threads: 2
mcldev mcldev is offline Offline
Light Poster

Re: Can't connect error on createuser

 
0
  #3
Feb 22nd, 2005
You should nip out to the command line and fire up mysql logging in as root or approriate access for table management and grant access. You can then SELECT username from mydb or similar to list the users in your database. From there pay attention to the user suffix, i.e. is it something like johndoe@mybox (meaning johndoe connecting from mybox is valid but not on others systems like, herbox for example). If you need access to herbox as well then consider creating users with wildcard access. For example, johndoe@%. Chances are your privilege issue can be solved at the mysql layer. And when I doubt, use one of the MySQL applications to prove that your user IDs can access the Database with the Access you expect. Only then can you be sure that programatically you are dealing with your own issues instead of database security. Good luck !
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC