I forgot to opt export database option and install the xampp again. Now how can I take backup from the old xampp folder, I have the older xampp folder as backup?
What I tried- I just copied the folder of my database to the data folder, but I got the following error- Can't find file: 'mytablename' (errno: 2)
basedir
and datadir
in my.ini/my.cnf. If the path is configured correctly. then try this shell> bin/mysqld_safe --user=mysql --datadir=/usr/local/mysql/data &
Ensure that you have proper permissions
shell> chown -R mysql shell> chgrp -R mysql
Finally, use this
shell> mysql_install_db --user=mysql
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.