From 42d4dc311efd0911283f4313f33ab00b66d5cdf8 Mon Sep 17 00:00:00 2001 From: esoe Date: Thu, 12 Jan 2023 09:46:45 +0300 Subject: [PATCH] qq --- sql/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sql/README.md b/sql/README.md index a28aec5..2c95575 100644 --- a/sql/README.md +++ b/sql/README.md @@ -3,10 +3,10 @@ - [хорошая статья на хабре / шпаргалка](https://habr.com/ru/post/564390/) ## Извлечение команд sql из файла -echo "source /path/to/script.sql" | mysql -u root -proot -D database -cat /Desktop/test.sql | sudo mysql -uroot -p -mysql -u yourusername -p yourpassword yourdatabase < query_file > results_file -mysql --user="username" --database="databasename" --password="yourpassword" < "filepath" + echo "source /path/to/script.sql" | mysql -u root -proot -D database + cat /Desktop/test.sql | sudo mysql -uroot -p + mysql -u yourusername -p yourpassword yourdatabase < query_file > results_file + mysql --user="username" --database="databasename" --password="yourpassword" < "filepath" -sql>>> source /path/to/script.sql -source \\home\\user\\Desktop\\test.sql; \ No newline at end of file + sql>>> source /path/to/script.sql + source \\home\\user\\Desktop\\test.sql; \ No newline at end of file