Hi all,

I'm currently finally starting mysql and am have difficulty getting it up online. what i've done so far is correct but only for this error:

Warning: mysql_pconnect() [function.mysql-pconnect]: Can't connect to MySQL server on 'www.dteeducation.ie' (61) in /usr/www/users/adv123site/home/youruser/public_html//settings/database.php on line 10
Cannot connect to database, check if username, password and host are correct.

However, once i went into mySql all i was asked for was a password to logon which is fine. Now, what i need to know is where can i get the correct info for the username and host?

Any help will be apreciated. Cheers

Recommended Answers

All 2 Replies

The only possibility is
mysql.allow_persistent is turned off in your php.ini file or it must be commented.

Uncomment it and change it value to On. Restart apache/web server and try again.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.