Answer the question
In order to leave comments, you need to log in
How to manually add a database?
I completely copied the /var/lib/mysql/ folder from one computer, I upload the databases I need to the same folder on another computer, the databases and tables are displayed in the console upon request, and when I request show columns from table, an error pops up
ERROR 1932 (42S02): Table 'name table' doesn't exist in engine
Answer the question
In order to leave comments, you need to log in
innodb tables are stored in the ibdata file, not in the base directory. Therefore, you will be able to restore innodb only completely.
Better still, mysqldump
Copied the entire /var/lib/mysql/ folder
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question