Error Connecting to DB

Status
Not open for further replies.

ManDay

New Member
Messages
20
Reaction score
0
Points
0
That's what I get although I gave it the right DB Name ( "manday_...." ) and the right username ( "manday_.... ).

I try to connect on localhost, is that right?
_______

Oh well, I should have said that it's PHP and I'm trying to connect to mySQL.
_______

In fact I'm a stupid dumb cause that error is no error but rather message from die( ... ).

Orite

Access denied for user 'manday_manday'@'localhost' (using password: YES)
 
Last edited:

ManDay

New Member
Messages
20
Reaction score
0
Points
0
A what? A STOLI? Never heard of anything similar - not a clue what it is.

define( "STR_MYSQL_HOST","mysql.x10hosting.com" );

and in the "Remote mySQL"-List of the cPanel:

stoli.x10hosting.com

Doesnt work tho. I use the "Ad-Free" Account btw - if this is what stoli means.
 
Last edited:

Dan

Active Member
Messages
1,258
Reaction score
0
Points
36
Stoli is the name of one of the X10hosting Ad-Enhanced Servers. I'm not sure what is wrong then, what are you trying to install exactly?
 

ManDay

New Member
Messages
20
Reaction score
0
Points
0
Install? Nuttin. I created a DB in the cPanel, imported a table in phpMyAdmin and am now trying to use that DB with a PHP-Script i uploaded to my webroot. But the script doesnt manage to connect to the server.

once again (just to make sure its correct):

mysql_connect( "localhost","manday_manday","abcdefghij" )
mysql_connect( "mysql.x10hosting.com","manday_manday","abcdefghij" )

neither works

__________

me say: Oh! I think i didnt notice that you have to add users to certain db each once....

lets try

-------

addad, didnt help
 
Last edited:

ManDay

New Member
Messages
20
Reaction score
0
Points
0
Using capital letters for "php" and "stoli"... well... So what now? I don't get it, really.

What will I have to type - tell me, please! Please fill out:

Code:
mysql_connect( ............,"manday_manday","abcdefghij " )

Remote mySQL-Server: ..............

€: Oh, yes, the script... Well, why do you care what the script does? One thing that it attemts to do is getting data from the mySQL-Server, ain't that info enough?
Edit:
Well mr. kennedy, I don't know why you are not replying back. Wanna know what the script does? Well, it takes the Name of a game and aquires the rating from several gamesites.

will you answer now, please?
 
Last edited:
Status
Not open for further replies.
Top