Replies: 1 comment
-
Открываем консоль (к примеру из ветки MariaDB 11.7)
Получаем дампы всех баз в корне папки OSPanel
Все sql файлы закачиваются в одноименные базы.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Открываем терминал
cd I:\OpenServerPanel\modules\MySQL-8.2\bin тут путь до вашего mysql.exe
"I:\OpenServerPanel\modules\MySQL-8.2\bin\mysql.exe" --host=MySQL-8.2 --user=root --database=sk2 < "I:\OpenServerPanel\dump.sql"
--host=MySQL-8.2 у меня такой хост, у вас может быть localhost
--user=root пользователь БД
--database=sk2 бд, в которую будем импортировать
< "I:\OpenServerPanel\dump.sql" путь до дампа
"I:\OpenServerPanel\modules\MySQL-8.2\bin\mysql.exe" --host=127.0.0.1 --user=root --password=ваш_пароль
Это если у вас пароль стоит на пользователе бд
Beta Was this translation helpful? Give feedback.
All reactions