• Ok here is what I am trying to do. Iam trying to install wordpress the hardway and I am using mamp so i can do a local host on my laptop.

    I got it all setup and i am at the phase where on mamp i goto local host 8888 where i can start to install wordpress and when i get to the database username and password part.

    I input all of the correct data and everything and click submit but it keeps telling me this message “error establishing database connection.”

    How do i get past this and solve this problem because i am trying to get past it so i can install a new theme and put it on my own private domain so i can do some work for a new client. But until i get to that part i can do diddly squat.

    Please help me

    • This topic was modified 7 years, 3 months ago by bdbrown.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter bikamek1

    (@bikamek1)

    Firstly, when you download and install MAMP/MAMP Pro, it by default installs MAMP; you have to deliberately choose to use MAMP Pro. I recommend not doing so at this point.
    Just to try it, I ditched my current MAMP install (was just some testing sites) and started over fresh. Fresh download of the latest MAMP 3.0.7.3 and WP 4.0.1 on a Mac Mini running Yosemite.
    From double clicking the MAMP download to viewing the WP site homepage … 3 minutes
    1. download the FREE MAMP
    2. double click the download package and run the MAMP install
    3. start MAMP (Applications/MAMP/Mamp (double click)
    4. start the servers
    5. copy the WP download to Applications/MAMP/htdocs and extract there
    6. there will now be a folder named wordpress
    7. from the MAMP start page, select Tools > phpMyAdmin
    8. click the Databases tab
    9. enter a name in the Create database entry field (no spaces!) and click Create
    10. in your browser, enter: http://localhost:8888/wordpress
    11. click the Create a Configuration File button
    12. at the database info screen, enter:
    — database name: whatever you named it
    — database user: root <the default MAMP DATABASE user>
    — database password: root <the default MAMP DATABASE USER password>
    — host name: localhost
    — table prefix: wp_ <leave as-is>
    13. fill out as required, un-check the privacy item (for local installs)
    14. log in with the WORDPRESS user and password you just entered in the previous screen

    These are the instructions that i am following to the tee which are legit and do work.

    But when i input my new database name datfluki

    I than goto this link\
    http://localhost:8888/

    it tells me to goto wordpress i click unisted states to log in.

    Database name
    Database username
    Database password
    Database host

    for database name i put in “datfluki”
    username i keep as root
    password i keep as root
    database host i keep as localhost
    for table prefix i keep it as wp_

    i than click submit and i just get the error

    “error establishing database connection and im getting might pissed off.”

    One thing to try is going into phpMyAdmin and change the password to root. I ran into a similar issue when installing MAMP on a Windows 10 machine and a machine running 10.12 Sierra. But once I changed the password for the root account to root like it should of default to I was able to install WordPress using MAMP.

    @bikamek1 – Are you running MAMP on Windows or Mac?

    • This reply was modified 7 years, 3 months ago by snifflevalve. Reason: typo
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘First new pc wordpress user needs help’ is closed to new replies.