![]() Maybe this will be useful for someone else, and if I screwed up something above, it’s because my process wasn’t nearly as linear, so I may have misremembered. That should fix the links and you can change it back to whichever format you prefer again. Go to WordPress Admin panel ‘ login with the username and password you had been using all along, then go to:ĭashboard > Settings > s > Check Plain and Save Changes. Go to localhost:8888 in browser and WordPress first page should be back but click here and there and you’ll quickly notice that links are broken. Make sure that WordPress ‘wp-config.php’ file points to a database with the same name. Point to ‘mywebsite.sql’ file you made earlier. Give it a name, (again, I made it slightly different to make the sql file I generated). ![]() No databases should be there.Ĭlick New in the database tree on the left. Uninstall MAMP and MAMP Pro by putting folders in Trash again. (I made a slight variation in the name to make it different not sure if that’s important or not.) Save file as ‘mywebsite.sql’ somewhere you can find it. Paste into text editor like Text Wrangler (something that doesn’t muck around with formatting). Select ‘mywebsite’ database and select the Export tab. Go to phpMyAdmin panel, should be up and running now. The problem I had here was that all of the database tables were empty and logging into WordPress Admin panel would start a new WordPress installation and that didn’t help. Set WordPress ‘wp-config.php’ file back to MAMP defaults DB_NAME to ‘mywebsite’, username ‘root,’ and password ‘root’. Now, in your backup ‘db’ folder go into ‘mysql’ folder find the folder name of your database (something like ‘mywebsite’ or whatever you named it) and these files:Ĭopy them in the corresponding ‘db > mysql’ folder location and put you contents of “htdocs” back as well. ‘Hard Drive > Applications > MAMP > htdocs’ I’m posting my solution because I hate to leave a thread hanging for the next poor soul in a similar situation.īackup MAMP content folder too if you use the default location: Everything went to hell after that.Īs for my fix, I’m not saying this is the best way or even a sensible way, this is just how fixed it after a few hours of trial and error (and tears). It does not store any personal data.I initially borked everything in phpMyAdmin by choosing Privileges tab > Edit Privileges link > Login information link: and I made a unique user name and password and I think selected the radio button “delete the old one from the user tables”. The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. ![]() The cookie is used to store the user consent for the cookies in the category "Performance". ![]() This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. The cookies is used to store the user consent for the cookies in the category "Necessary". The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". The cookie is used to store the user consent for the cookies in the category "Analytics". These cookies ensure basic functionalities and security features of the website, anonymously. ![]() Necessary cookies are absolutely essential for the website to function properly. Step 10: Restart, the localhost/phpmyadmin is solved. Step 9: Go to config and select “service & ports settings” and change the port to 80 and save it. “We are almost done to fix localhost/phpmyadmin” Step 6: Again go to config and select “Apache (httpd-sss. If you have installed MAMP with the default ports, open the Welcome page in your browser ( then click the phpMyAdmin link at the top of the screen. In MAMP, you need to open phpMyAdmin to create a MySQL database.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |