MySQL Workbench folder does not exist after improper shut down - mysql

This morning I installed MySQL sever (ver. 5.6). I used MySQL Workbench to create schema, users and tables I needed for my development.
After several hours of work I just closed my laptop without closing applications.
When I came home, I realized that laptop in meantime fully shut down (probably ran out of battery).
I tried to run MySQL Workbench application and got error
Workbench Restore: c:/user/.../AppData\Roaming\MySQL\Workbench folder does not exist. I checked hard drive and this folder does exist.
Now, everything is gone, my schemas, tables, users and I can't start Sql server no more.
Any help is appreciated.
Thanks

Related

Installed Mysql, Wordpress, and WAMP server. Create database failed to exist even though phpMyAdmin showed it created

I installed MySql community server on Windows 10 Home. Then, I installed WAMP server 64 to setup an Apache php server. Finally, I installed Wordpress where my problem arose. All products are current releases just downloaded.
During installation of Wordpress, phpMyAdmin says the database was created and it shows on the left panel. The name is wordpress_db. MySQL Query Workbench doesn't find it with a SQL show databases command. Wordpress gave an error "not found". I finally manually created the db in MySQL Workbench, rebooted, and after restarting Wordpress on the Apache server created I was able to finish the installation. There were no errors showing with the db create from phpMyAdmin and it allowed me to set privileges for users without a problem. I can't explain what happened and don't particularly like mysteries that just go away. They always com back to haunt you!
Can anyone shed any light on what happened during the installation and db_create?
Thanks in advance for anyone who looks at this.
Update
I uninstalled and reinstalled and the problems went away. Now I am running a MySQL instance that isn't distributed directly from the vendor and I lost some of the things that come with MySQLcommunity server.
One thing to note - the installation docs don't tell you to change the port on MariaDB from 3306 to something else using phpMyAdmin when you are using MySql. Once i changed the port, the server instances instantly popped up green. They were initially orange.
thanks

Databases are found in phpmyadmin but contains no tables

My old 2003 server became unstable, so I copied the database folder to an external disk in an zip file just before it died and burnt the hard-disc to in the process.
So I am stuck with at hardcopy of my server folder it was setup around ten years ago so it was made in an old version of MySQL and administrated with a just as old version of phpmyadmin.
But no matter which version of phpmyadmin I try I end op with same error it cant find the tables or more correct open them and when I click on a table i get a #1146 error.
Is there anyway around that problem
I am now running on a 2016 server with the latest mysql, php and phpmyadmin and i tried for three months to find a solution, but with no luck sp far.
Is the databases to old to run with the newer versions?

LAMPP Error #1932 after update: Tables don't exist

I recently updated my Ubuntu server, and now all the tables in my database are telling me they don't exist.
I had some issues with phpMyAdmin after restarting the machine, so I reinstalled it and eventually got it working again. I can see the database and it lists all of the tables, but as soon as I click on any it says "Table xxx.xxxx doesn't exist in engine". I can see the files are still there in nautilus.
I have done a lot of research and I see some general information about rebuilding the tables, but I don't usually do anything in a LAMPP environment and I can't lose any of this data, so I've been wary about running some of the commands (especially the ones that include DROP).
I am running XAMPP for Linux 5.6.23 and phpMyAdmin 4.5.2 on ubuntu 16.04
I did end up solving this eventually. I used https://recovery.twindb.com/ to recover the frm files and rebuilt the database tables one at a time using the MySQL CLI. I removed and reinstalled XAMPP and phpMyAdmin and finally got it all working after dumping and then importing.

Connecting my MySQL databases to phpMyAdmin

I am running Mac OS 10.10.2. I have recently been educating myself about php and SQL in order to create an online database application for my employer. However, I have been unable to load up my MySQL databases in phpMyAdmin. I have tried following some advice from this forum, but no answers seem to solve my issue.
I installed MySQLWorkbench (Ver. 6.2.4.12437) as well as XAMPP (Ver. 5.6.3-0), and was using phpMyAdmin to have a play around and better understand what I was getting myself into. I then found one of those follow-the-bouncing-ball type teaching websites which advised me to download and install the MySQL community server (Currently running Ver. 5.6.23)
As instructed, I was learning SQL commands through Terminal and built up some databases/tables this way. I decided I wanted to jump into phpMyAdmin where I felt it'd be easier to continue my work. At first XAMPP was unable to turn on the servers which I overcame by uninstalling and reinstalling. Then I was getting a #2002 error when trying to access phpMyAdmin. I tinkered with config files and put in details relating to my localhost MySQL server (Or at least I assume as much).
I was able to get back into phpMyAdmin finally, but my databases made through terminal are not there.
phpMyAdmin shows: cdcol (the example database), information_schema, mysql, performance_schema, phpmyadmin, and test.
If I open terminal and punch in 'mysql' then 'SHOW DATABASES;' it only lists: information_schema.
If I open terminal and punch in 'mysql' with username 'root' and my password, then 'SHOW DATABASES;' it lists: information_schema, mysql, performance_schema, my tutorial/learning database, and my business database. I dropped the test database from here. THESE are what I want to bring up in phpMyAdmin.
I can only guess that I haven't got it configured properly to access this last mysql server, but I can't determine where I am going wrong. If anyone can shed some light on this, that'd be greatly appreciated.
It appears as if you have two MySQL instances; one from the XAMPP and also the MySQL Community Server that you installed yourself.
The "M" of XAMPP is for MySQL, so yes usually it runs its own MySQL server instance. That's sort of the point of the packaged kit, so you don't have to worry about having any of your own applications installed. In theory it should be no problem to stop the XAMPP MySQL instance and instead use your other one, but may require tweaking some configuration files and is probably not supported. If you can make it work, I don't see a reason why it would be a problem, though.
My suggestion is to either use the complete XAMPP stack or roll your own installation rather than mix and match.

Xampp mysql cant run database i already created

i installed xampp and planing to use the apache server and the mysql server.
while running the first time, i load the database from phpmyadmin, and it loads fine. after i work with my app i check that the db is updated and it is.
after closing the servers and returning to them later, i have problem to start the mysql server, so i found some helpfull links and followed them...
XAMPP - MySQL shutdown unexpectedly
although it did helped but im not sure the issue is the port. what worked for me is deleting the ibdata1 file.
so why cant i run the mysql the second time? each time i have to delete the file?
following question one, i have problems updating my databases in phpmyadmin, and have to delete the db manually from c:\xampp\mysql\data\"db_name"
and then loading it again through phpmyadmin. im sure this is the wrong way but not deleting it will mess up the db so dont have any other choice at the moment.
please note there are 2 separate questions, but the issue is the same.
thanks