• I am installing WordPress on a Mamp server .I get as far as the Database name etc and it fails to create wp-config.php so what is the correct username and password

    Database username wordpress
    Database password root
    Database host root
    Table prefix (if you want to run more than one WordPress in a single database)

    I have spend a lot of time on docs of installs and root and root is the only data I can find.

Viewing 15 replies - 1 through 15 (of 23 total)
  • I think you’re missing a step. Before you can move on from this page you actually need to create the database. Go to your browser type in the following…

    localhost/php/MyAdmin

    This will take you to the PHP admin page for MAMP.

    Click on the Databases tab at the top of the page. It will take you to page where you will see an area at to top of the page that says Create database. In the text field type in “wordpress” for the name, then click on the create button.

    Now you can go back to the wordpress page and enter the following…

    Database Name: wordpress
    User Name: root
    Password: root
    Database Host: localhost
    Table Prefix: wp_

    Then click on submit!

    Hope this helps!
    Aniello

    Thread Starter bobferg

    (@bobferg)

    I have done that and I still fail the submit. I followed a mac install video. I have a wordpress database and root user though I don’t know the password but root seems right based on the docs.

    Thanks for your time to reply.

    Thats strange. Root is the username and password by default. What error or message is it giving you?

    • This reply was modified 7 years, 7 months ago by Neal.
    Thread Starter bobferg

    (@bobferg)

    I get an Error establishing a database connection. I even tried to create my own wp-config.php and it failed.

    Thread Starter bobferg

    (@bobferg)

    I don’t know if it is the install or the mamp server causing the problem.

    Could be the server. What port settings are you using? Try…

    Apache Port: 80
    Nginx Port: 7888
    MySQL Port: 3306

    But usually, that error message is because the username and password don’t match.

    • This reply was modified 7 years, 7 months ago by Neal.
    • This reply was modified 7 years, 7 months ago by Neal.
    Thread Starter bobferg

    (@bobferg)

    I get now
    Can’t select database
    We were able to connect to the database server (which means your username and password is okay) but not able to select the wordpress database.
    Are you sure it exists?
    Does the user root have permission to use the wordpress database?

    We are a step a head I think

    Okay, that could still be a username/database name/password issue. Since MAMP acts as a server on your computer, as soon as you turn MAMP on, your on the “server”. I would double check the names of the databases both on the back end and on the WordPress set up page. Do you have any screen shots?

    • This reply was modified 7 years, 7 months ago by Neal.
    Thread Starter bobferg

    (@bobferg)

    I have checked the names the best I know how. I moved the wordpress from being a sub folder of htdocs to in htdocs thinking maybe mamp is confused about which folders to use. I am just guessing. What you like a screen shot of. How do I load a screen shot here

    @bobferg

    You can’t directly upload a picture on the forum, and would have to upload the images to a site or photo service and provide the link here.

    I think you’re right. Moving the folders around MAMP is confused. It might be worth it to wipe clean and do a reinstall.

    • This reply was modified 7 years, 7 months ago by Neal.
    Thread Starter bobferg

    (@bobferg)

    I am reinstalling everything I played so much. I will start fresh.

    Thread Starter bobferg

    (@bobferg)

    I reinstalled mamp. I got my install. It was easy this time everything just worked and I know what I should do.

    Now to figure out how to get existing missioneasysoftware.ca loaded.

    I’m glad that worked out! It looks like this is currently a WordPress site? If thats the case you could just copy the files/folders from an FTP and paste them into your localhost!

    Thread Starter bobferg

    (@bobferg)

    I reloaded WordPress after deleting the old. I am at a loss now. It must be something with mamp setup but I have checked the settings and nothing stands out.
    This should have been easy the port helped. I hate to think how much time I have spent doing this.

    I hear you. I think screen shots would be helpful. Can you upload them via dropbox or google drive and share the link here?

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Installing wordpress 4.8’ is closed to new replies.