• Resolved mg10

    (@mg10)


    hello I’m trying to migrate my wordpressi this error happens to me:
    Error establishing a connection to the database
    I added this line of text to wp_config

    define (‘WP_ALLOW_REPAIR’, true);

    then I put this in my browser:
    http: // localhost / Biopharmacia / wp-admin / maint / repair

    and the error keeps coming.

    What am I doing wrong?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mg10

    (@mg10)

    on apache_error are:
    [error] [client 127.0.0.1] script ‘C:/MAMP/htdocs/index.php’ not found or unable to stat

    Hello @mg10,
    It looks like you have started 3 (or is it 4?) threads seeking support for the same problem.

    I think you have a MAMP webserver installation or configuration problem, please use the replies you have received and also MAMP support to solve your problem.

    • This reply was modified 6 years, 9 months ago by RossMitchell.

    Hello! I also have a problem with database connection on local server.
    I installed wordpress and created a new database. Everything worked well. But when I imported a database from remoted host I received a message during wp configuration process:
    We were able to connect to the database server (which means your username and password is okay) but not able to select the victo188_victoria database.

    Are you sure it exists?
    Does the user root have permission to use the victo188_victoria database?
    On some systems the name of your database is prefixed with your username, so it would be like username_victo188_victoria. Could that be the problem?

    DB exists. The user has the permission. With name everything is ok.

    What can be the promlem? Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error establishing a connection to the database’ is closed to new replies.