• Resolved cablek

    (@cablek)


    after entering the information on the database form this message resulted:

    the file ‘wp-config.php’ already exists. if you need to reset any of the configuration items in this file, please delete it first. you may try installing now.

    then, after clicking on installing now, this was the next message:

    warning: mysqli_real_connect(): (hy000/1045): access denied for user ‘‘root’’@’localhost’ (using password: yes) in /applications/mamp/htdocs/wordpresstest/wp-includes/wp-db.php on line 1444

    deprecated: mysql_connect(): the mysql extension is deprecated and will be removed in the future: use mysqli or pdo instead in /applications/mamp/htdocs/wordpresstest/wp-includes/wp-db.php on line 1474

    warning: mysql_connect(): access denied for user ‘‘root’’@’localhost’ (using password: yes) in /applications/mamp/htdocs/wordpresstest/wp-includes/wp-db.php on line 1474
    error establishing a database connection
    this either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. this could mean your host’s database server is down.

    are you sure you have the correct username and password?
    are you sure that you have typed the correct hostname?
    are you sure that the database server is running?
    if you’re unsure what these terms mean you should probably contact your host. if you still need help you can always visit the wordpress support forums.

Viewing 6 replies - 1 through 6 (of 6 total)
  • It seems like you have incorrectly entered the database name, username, password, or host when you first entered that information.

    Now, you need to either delete the wp-config file to create a new one through the wordpress installer, or open the wp-config file through the back-end FTP and manually correct the information. Here is some further detail: Editing wp-config

    What hosting service are you using?

    /Applications/MAMP/htdocs

    This means the WordPress likely is on a Mac localhost … So the references to hosting service and ftp likely not are applicable. Perhaps this reference will be helpful: https://codex.wordpress.org/Installing_WordPress_Locally_on_Your_Mac_With_MAMP

    Thread Starter cablek

    (@cablek)

    Yes, I am trying to make my Mac the localhost so I can learn website design with out buying a hosting site or going live.

    Perhaps this reference will be helpful: https://codex.wordpress.org/Installing_WordPress_Locally_on_Your_Mac_With_MAMP

    I did use this reference, step by step, and am still running into problems at step 4.

    Thread Starter cablek

    (@cablek)

    I was able to install wordpress now. I did re-dowload in order to create a new wp-config file. Thanks for all the help.

    Thread Starter cablek

    (@cablek)

    marking as resolved

    Warning: mysqli_real_connect(): (HY000/1045): Access denied for user ‘(using password: YES) in /httpd.www/wp-includes/wp-db.php on line 1452 Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /httpd.www/wp-includes/wp-db.php on line 1482 Warning: mysql_connect(): Access denied for user ‘ (using password: YES)

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘error establishing a database connection – trying to install wordpress’ is closed to new replies.