Title: cannot connect to sql
Last modified: August 19, 2016

---

# cannot connect to sql

 *  [Dzynovitch](https://wordpress.org/support/users/dzynovitch/)
 * (@dzynovitch)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/cannot-connect-to-sql/)
 * I am installing a new WordPress site and cannot get a connection to the database.
   A test of the database, sqltest.php tells me the DB is connected, but I cannot
   get wp-config.php to work.
 * If I go into the website: [http://www.ibm100tales.com/sqltest.php](http://www.ibm100tales.com/sqltest.php),
   it says the db is connected. On the other hand if I click sqltest.php in the 
   file manager, I get the message:
    “could not connect to server Client does not
   support authentication protocol requested by server; consider upgrading MySQL
   client”
 * I’ve checked my user name, pw, etc in wp-config.php and all seems to be OK.
 * Could the DB collate have anything to do with this?
 * /** The Database Collate type. Don’t change this if in doubt. */
    define(‘DB_COLLATE’,‘
   utf8_unicode_ci’);

Viewing 1 replies (of 1 total)

 *  [amitgwb](https://wordpress.org/support/users/amitgwb/)
 * (@amitgwb)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/cannot-connect-to-sql/#post-2041665)
 * Which mysql version you are using?

Viewing 1 replies (of 1 total)

The topic ‘cannot connect to sql’ is closed to new replies.

## Tags

 * [new install](https://wordpress.org/support/topic-tag/new-install/)
 * [sql](https://wordpress.org/support/topic-tag/sql/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 1 reply
 * 2 participants
 * Last reply from: [amitgwb](https://wordpress.org/support/users/amitgwb/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/cannot-connect-to-sql/#post-2041665)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
