mod
This commit is contained in:
4
mysql.md
4
mysql.md
@@ -66,7 +66,7 @@ CREATE DATABASE IF NOT EXISTS sape_test_db;
|
||||
При её удалении полачал ошибку
|
||||
|
||||
```shell
|
||||
mysql> drop database 'sape_test_db';
|
||||
mysql> drop database 'sape_test_db.db';
|
||||
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''sape_test_db.db'' at line 1
|
||||
```
|
||||
|
||||
@@ -75,7 +75,7 @@ ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
|
||||
при использовании в названии зарезервированных слов, следует заключать имя БД в косые ковычки `
|
||||
|
||||
```shell
|
||||
mysql> drop database `sape_test_db`;
|
||||
mysql> drop database `sape_test_db.db`;
|
||||
Query OK, 0 rows affected (0,17 sec)
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user