|
@@ -2,7 +2,8 @@
|
|
|
|
|
|
*Reference titles:*
|
|
|
|
|
|
-*https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-22-04*
|
|
|
+- *https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-22-04*
|
|
|
+- https://techglimpse.com/error-grant-identified-by-password/
|
|
|
|
|
|
|
|
|
|
|
@@ -72,7 +73,7 @@
|
|
|
exit;
|
|
|
```
|
|
|
|
|
|
- From some version on (maybe mysql 5.7.6?), `GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'your-password' WITH GRANT OPTION` is deprecated. If you try with that, you'll get errors like this:
|
|
|
+ Since mysql 5.7.6, `GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'your-password' WITH GRANT OPTION` is [deprecated](https://techglimpse.com/error-grant-identified-by-password/). If you try with that, you'll get errors like this:
|
|
|
|
|
|
```console
|
|
|
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 'IDENTIFIED BY '123456' WITH GRANT OPTION' at line 1
|