Witam. Mam problem z bazą danych MySQL. A mianowicie chodzi o użytkownika. Po stworzeniu go (bez hasła, bo hasła nie mogę ustawić, ze względu na poniższy błąd), nie mogę nic z nim zrobić. Po wykonaniu prostej czynności np. dodaniu uprawnień występuję poniższy błąd :
Error changing account name@%: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'USER' name@%'IDENTIFIED BY 'root' at line 1.
daj SQLa, którym próbujesz dodać usera
Wejdź pod adres: C:\Program Files\MySQL\MySQL Server 8.0\bin
i tam to wpisz, a nie jak się do mysql'a zalogujesz.
Odinstaluj wszystkie składniki programu MySQL, w tym foldery, pliki, wpisy w rejestrze; najlepiej wszystko, co jest do wyrzucenia związane z tym programem.
Wejdź pod ten adres: https://dev.mysql.com/doc/refman/8.0/en/windows-installation.html i postępuj zgodnie z instrukcjami ściągając program MySQL ze strony, którą podaje dokumentacja.
Download MySQL Installer from https://dev.mysql.com/downloads/installer/ and execute it.
Na dzień dzisiejszy 08/04/2019 jest to najnowsza wersja MySQL.
https://dev.mysql.com/doc/refman/8.0/en/windows-installation-layout.html
https://dev.mysql.com/doc/refman/8.0/en/windows-choosing-package.html
https://dev.mysql.com/doc/refman/8.0/en/mysql-installer.html
https://dev.mysql.com/doc/refman/8.0/en/windows-notifier.html
https://dev.mysql.com/doc/refman/8.0/en/windows-install-archive.html
https://dev.mysql.com/doc/refman/8.0/en/windows-troubleshooting.html
https://dev.mysql.com/doc/refman/8.0/en/windows-postinstallation.html
https://www.advancedinstaller.com/forums/viewtopic.php?t=30962