MySQL Error

Whitewolf

New Member
Messages
24
Reaction score
0
Points
0
Right im lost lol, i keep getting these error codes no matter what i try!

Code:
[B]Warning[/B]:  mysql_connect() [[URL="http://eccotest.x10hosting.com/faqbase/faqforge-1.3.2/admin/function.mysql-connect"]function.mysql-connect[/URL]]: Access denied for user 'ecconew'@'stoli.x10hosting.com' (using password: YES) in [B]/home/ecconew/public_html/faqbase/faqforge-1.3.2/admin/index.php[/B] on line [B]41[/B]

[B]Warning[/B]:  mysql_select_db() [[URL="http://eccotest.x10hosting.com/faqbase/faqforge-1.3.2/admin/function.mysql-select-db"]function.mysql-select-db[/URL]]: Access denied for user 'ecconew'@'localhost' (using password: NO) in [B]/home/ecconew/public_html/faqbase/faqforge-1.3.2/admin/index.php[/B] on line [B]42[/B]

[B]Warning[/B]:  mysql_select_db() [[URL="http://eccotest.x10hosting.com/faqbase/faqforge-1.3.2/admin/function.mysql-select-db"]function.mysql-select-db[/URL]]: A link to the server could not be established in [B]/home/ecconew/public_html/faqbase/faqforge-1.3.2/admin/index.php[/B] on line [B]42[/B]
              [URL="http://sourceforge.net/projects/faqforge/"][IMG]http://eccotest.x10hosting.com/images/faqforge.png[/IMG][/URL] v 1.3.2
 

DJHolliday

New Member
Messages
38
Reaction score
0
Points
0
have you tried to connect to 'localhost' rather than connecting to your domain?
That usually does the trick
 

arsonistx

New Member
Messages
308
Reaction score
0
Points
0
Usually you use localhost for the first one.
For the username and password..

You must set up a database and add a database username and password to it. This can be done right in cPanel. The username will be prefixed with your account login name. (ie: if your username is testuser and the database username is usernamehere, the database name will be testuser_usernamehere) The password is not prefixed.
Also, your database name will be prefixed with your account username. (ie: username = testuser, database name = database, the full database name is testuser_database)

Hope this helps!~
 
Last edited:

Whitewolf

New Member
Messages
24
Reaction score
0
Points
0
Great help, just one more thing,

What do i fill in the:

$dbServer = " ??? ";
 

naim4u

New Member
Messages
51
Reaction score
0
Points
0
hey , your didnot select the database ... correctly or your host or pw.
if u correct that it willl go cetainly
Edit:
you should fill
$dbServer = "localhost";
 
Last edited:
Top