|
@@ -8,11 +8,11 @@
|
|
|
|
|
|
- Connect to a database using credentials
|
|
- Connect to a database using credentials
|
|
|
|
|
|
-`mysql -h {{database_host}} -u {{user}} -p{{password}} {{database_name}}`
|
|
|
|
|
|
+`mysql -u {{user}} -p{{password}} {{database_name}}`
|
|
|
|
|
|
-- Connect to a database on a different host. MySQL will prompt for a password if none is supplied.
|
|
|
|
|
|
+- Connect to a database on another host
|
|
|
|
|
|
-`mysql -h {{database_host}} -u {{user}} -p {{database_name}}`
|
|
|
|
|
|
+`mysql -h {{database_host}}
|
|
|
|
|
|
- Execute SQL statements in a script file (batch file)
|
|
- Execute SQL statements in a script file (batch file)
|
|
|
|
|