шпаргалки
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
esoe f8931f4cf1 derby 2 years ago
..
derby derby 2 years ago
mysql qq 2 years ago
resources qq 2 years ago
samples sql 2 years ago
JOIN.md slime 2 years ago
README.md qq 2 years ago

README.md

SQL

linlks / ссылки

Извлечение команд 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"

mysql> source /path/to/script.sql
source \\home\\user\\Desktop\\test.sql;