bitemyapp / esqueleto

New home of Esqueleto, please file issues so we can get things caught up!
BSD 3-Clause "New" or "Revised" License
372 stars 107 forks source link

Add @localhost to last MySQL command #296

Closed MaxGabriel closed 2 years ago

MaxGabriel commented 2 years ago

It's been a long time since I remembered MySQL user naming convention stuff, but, just empirically I get the following error following the README instructions:

mysql -u root
mysql> GRANT ALL ON esqutest.* TO 'travis';
ERROR 1410 (42000): You are not allowed to create a user with GRANT
mysql> GRANT ALL ON esqutest.* TO 'travis'@'localhost';
Query OK, 0 rows affected (0.00 sec)

MySQL version:

~/D/C/H/esqueleto> mysql --version                                                                                                                                                                                                                                                                                                                                  12:38:37
mysql  Ver 8.0.22 for osx10.15 on x86_64 (Homebrew)
parsonsmatt commented 2 years ago

Thanks!