Dynadot โ€” .com Registration $8.99

MySQL Details ?? PLEASE HELP ??

Spaceship Spaceship
Watch

swiftmed

Established Member
Impact
1
Hello,

Im trying to install a script to my server, and it says "Please enter your MySQL details"

Code:
$connect = @mysql_connect('localhost', 'root', 'pass');

My local host would be "web10.mysql.000025.net"
The root is the bit i dont get, ive tried entering the user-name for the DB, the DB Name, none seems to be working.

Im presented with a message saying "Unable to connect to the database server at this time."

Could ANYONE Please help me. If it starts working as a result of your advice i will give a one way link to your website for life from mine!!![/CENTER]

Thanks Very Much,​
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
have you given the user permissions to the db?
 
0
•••
yeh i did....

cheers for your reply. its called article manager, however i have just realised that its the Beta version, so the problem could be with the script itself, so im going to ditch it and find another script somewhere else.

thank you! for your time anyway though.
 
0
•••
Here are some sample MySQL credentials:

Host: localhost (<< Should stay as such)
Username: account_user
DB: account_DB
Password: password

You must have your account name in front of the user and database name in cPanel to make it work correctly.
 
0
•••
PHP:
$connection = @mysql_connect('localhost','user_name','password');
localhost should probably stay the same for you, so just leave it as localhost!
username or "root" is the cpanel username, with an underscore, then your database's username. i.e. cpanelusername_dbusername
password is your database password.
Hope it helps.
Rhett.
 
0
•••
Hello,

thanks for all your replys guys. Yeh the username, psswd etc etc is all entered correctly, the script finds the database correctly and says the details are correct, then it goes to the next step of the installation and it shows the error i have shown in the above post. Im stumped, aint got a clue what im doing wrong!
 
0
•••
Unstoppable Domains
Domain Recover
DomainEasy โ€” Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back