WordPress is Gone after MAMP crash (My SQL server)
-
Hi all,
My MAMP crashed, after that it wouldn’t connect to My SQL server. I tried a lot of different tips, but the only one that worked was this one:
“-go in the folder MAMP/db/mysql/ – delete all files that IS NOT A FOLDER (files like ‘mysql-bin.XXXXXX’ / ‘mysql-bin.index’/ ‘ibdata1’ / ‘ib_logfileX’
don’t worry, this doesn’t erase any of your database, but make sure you don’t delete the folders. That’s where the data of your databases are stored.” from this helpdesk
It worked, but when I tried to visit My Site, it brought me to an WordPress Installation screen. But I already installed WordPress with a Theme and had been working on the site for quite a while.
I panicked and then put the files from mamp/db/mysql/ back from the trash, overwriting the new files (that were suddenly in the folder again).
This didn’t do anything, so I tried to go through the installation process again, hoping my website would be waiting for me on the other side, but now it says this:
WordPress database error: [Table ‘********.wp_users’ doesn’t exist]
CREATE TABLE wp_users ( ID bigint(20) unsigned NOT NULL auto_increment, user_login varchar(60) NOT NULL default ”, user_pass varchar(255) NOT NULL default ”, user_nicename varchar(50) NOT NULL default ”, user_email varchar(100) NOT NULL default ”, user_url varchar(100) NOT NULL default ”, user_registered datetime NOT NULL default ‘0000-00-00 00:00:00’, user_activation_key varchar(255) NOT NULL default ”, user_status int(11) NOT NULL default ‘0’, display_name varchar(250) NOT NULL default ”, PRIMARY KEY (ID), KEY user_login_key (user_login), KEY user_nicename (user_nicename), KEY user_email (user_email) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ciWordPress database error: [Table ‘*******.wp_usermeta’ doesn’t exist]
CREATE TABLE wp_usermeta ( umeta_id bigint(20) unsigned NOT NULL auto_increment, user_id bigint(20) unsigned NOT NULL default ‘0’, meta_key varchar(255) default NULL, meta_value longtext, PRIMARY KEY (umeta_id), KEY user_id (user_id), KEY meta_key (meta_key(191)) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ciI don’t have any experience coding or making a website, I’m surprised I made it this far but I can’t really bluf my way out of this. I’m freaking out properly, hope anyone can help me.
- The topic ‘WordPress is Gone after MAMP crash (My SQL server)’ is closed to new replies.