Databases are found in phpmyadmin but contains no tables - mysql

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?

Related

How to use old mysql data folder for new version of mysql?

Today I uninstalled the Mysql server(5.0) from my computer and saved a copy of the data folder. After then I installed a version of Mysql 5.7.38 and it worked fine then I transferred the date folder's data to the new version of mysql's data folder. It even showed the databases on using the command but when I tried to view the tables in the database it gave and error that p.gabs does not exist (p was the database name and gabs was table name in it).
So I again uninstalled the version and I am reinstalling it.
So I am asking if there is a way to do this easily that I may use old databases in newer version.
P.S. I am using Mysql only at a beginner level. So no big server or stuff ..

How to properly restore data from an old XAMPP data backup

I installed XAMPP on my PC and been working for ages on a project that I was just about to wind up. A few days ago, I tried to rename one of the databases but ended up with a database connection error. I made a backup of the entire XAMPP folder but been unsuccessful on the restoration, 5 days now and I'm panic-stricken. I deleted the new data folder and replaced with the old data folder but still in vain.
I have the same version of XAMPP for the old and new installations. Also, I stopped Apache and MySQL first before replacing the data folder.
The database tables are present but the data is missing. When I click the table, I get an error - #1932 - Table 'north.wp_terms' doesn't exist in engine. I am literally at crossroads at this point. I am quite frankly new to XAMPP I would have been more careful. I can upload the required files online for troubleshooting, if requested.

After WAMP update & migrate, mysql tables have no structure / primary keys

We've moved WAMP to another drive on our server - the old version was WAMP 2.4, and the new one is WAMP 2.5. We installed 2.5 fresh on the new drive, and copied the www and mysql data folders from the old install.
It's 'working' - sites appear to run fine - but I've discovered that the database structure appears to be gone. All database tables have no primary keys, and no visible structure in phpMyAdmin.
This is the case for databases brought into the new WAMP install in the mysql data folder as well as new databases: I can export a database with structure from a remote server, but after importing to the local WAMP server the structure is stripped.
Two questions:
(How) can the database structure be restored?
How can I create or import new databases with structure?
Curiously this sorted itself out after attempting to troubleshoot the issue then undoing changes. What we tried:
Restarted all WAMP services, exited and reopened WAMP - unsuccessful.
Copied entire old mysql folder to new WAMP install, attempted to run mysql service with old mysql version - unsuccessful.
Reverted to newer version of mysql that came with WAMP 2.5 (back to initial state before troubleshooting), restarted services - unsuccessful.
Waited 10 minutes - table structure returned, working correctly.
This leads me to believe there was an interaction with another process or condition on the server, rather than a misconfiguration of WAMP.

MySQL Workbench folder does not exist after improper shut down

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

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