• Hi everyone,

    I’m working on a WordPress site and learning how to set up a server. I’ve been taking on line courses and
    I have downloaded MAMP to set up Apache and MySQL . While taken one of the courses I was instructed to change my
    port information 8888 to 80. After changing my port info I notice my Apache server was working but MySQL server wasn’t.
    I did try resetting it back and than doing it again and nothing happen. So right now I’m stuck and don’t know what to do.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator keesiemeijer

    (@keesiemeijer)

    If you click “Set to Default Apache and MySQL ports” under Preferences > Ports it should work. The default MySQL port is 3306.

    Thread Starter JHALLJHALL

    (@jhalljhall)

    Hi keesiemeijer,
    My Apache and MySQL is set up for the default settings,and my MYSQL port is set to 3306. After I change the ports I was asks for my password which I enter my info, and after that the light to MYSQL trun off.

    Moderator keesiemeijer

    (@keesiemeijer)

    When it is set to the default ports you always have to give your password when quitting and starting MAMP. Have you tried quitting and starting MAMP again.

    try this if that didn’t help:

    1. Quit MAMP
    2. Open the terminal and type: killall -9 mysqld
    3. Restart MAMP

    The terminal is located under Applications > Utilities

    https://twob.net/journal/fix-for-mamp-mysql/
    https://forum.mamp.info/viewtopic.php?p=515#515

    sometimes it is a permissions problem.
    Bring up the “Get info” window for the /applications/mamp folder and make sure the account you’re currently logged in as has read & write access, and then apply those permissions to all subfolders.

    Thread Starter JHALLJHALL

    (@jhalljhall)

    Hey keesiemeijer,

    Thnak’s for the information…But when I put in killall -9 mysqld
    and I get a message that reads:-bash: killall-9: command not found
    and also I did try some of the other advice you gave me and still I have the same issue.

    Maybe save your htdocs folder and export your databases then delete MAMP and reinstall everything.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problems with local host’ is closed to new replies.