| | |
Can't connect error on createuser
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Feb 2005
Posts: 2
Reputation:
Solved Threads: 0
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
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
•
•
Join Date: Feb 2005
Posts: 31
Reputation:
Solved Threads: 2
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 !
![]() |
Similar Threads
- PHP Connect Error (PHP)
- internet connect error : Cannot find communication device (OS X)
- odbc-connect error--urgent (PHP)
- Can't connect to MySQL server on 'localhost' (10061) (PHP)
- This page cannot be displayed error (Viruses, Spyware and other Nasties)
Other Threads in the PHP Forum
- Previous Thread: help with mysql_connect();
- Next Thread: How do I get an input form to reload itself
| Thread Tools | Search this Thread |
advanced apache api array basics beginner binary broken cakephp checkbox class cms code combobox cookies cron curl database date datepart display dropdownlist dynamic echo email eregi error execution file files folder form forms function functions google head href htaccess html if...loop image include includingmysecondfileinthechain insert ip javascript job joomla jquery key library limit link login mail menu mlm multiple mysql oop password paypal pdf pdfdownload php phpvotingscript problem query radio random recursion remote screen script search server sessions smarty sms sorting source space sql stored syntax system table traffic tutorial unicode update upload url validator variable video web youtube zend





