Warning: Access denied for user 'nume baza de date '@'localhost' (using password: YES)
Nu stiu cum sa setez toate privilegiile acelea la baza de date mysql,pentru ca este pe centos web panel si nu am mai avut pana acum un astfel de webhost cu asa panel,pe cPanel era mult mai simplu..Cum pot sa dau acele privilegii? Sau trebuie sa dea cei de la webhost?
Intrebare baza de date mysql
Moderators: Moderatori ajutatori, Moderatori
- Morthy
- Utilizator neserios (tepar)
- Posts: 61
- Joined: 28 Jan 2018, 13:01
- Detinator Steam: Nu
- CS Status: Citesc forumul eXtreamCS.com...!
- Reputatie: Utilizator neserios (tepar)
- Fond eXtream: 0
- Contact:
- LondoN eXtream
- Membru eXtream
- Posts: 2755
- Joined: 10 Oct 2014, 06:21
- Detinator Steam: Da
- SteamID: /id/london_extreamcs
- Reputatie: Fost scripter eXtreamCS
Fost moderator ajutator
Membru Club eXtreamCS (6 luni) - Fond eXtream: 0
- Location: Roman, Neamț
- Has thanked: 3 times
- Been thanked: 12 times
mysql> GRANT ALL PRIVILEGES ON database_name.* TO 'username'@'localhost';
- Morthy
- Utilizator neserios (tepar)
- Posts: 61
- Joined: 28 Jan 2018, 13:01
- Detinator Steam: Nu
- CS Status: Citesc forumul eXtreamCS.com...!
- Reputatie: Utilizator neserios (tepar)
- Fond eXtream: 0
- Contact:
Nu e gresit nimic,trebuie sa setezi niste privilegii.Mihail2 wrote:Pare parola gresita cel mai probabil (sau user).
- Mihail2
- Membru, skill +1
- Posts: 350
- Joined: 14 Oct 2011, 21:42
- Detinator Steam: Nu
- CS Status: Citesc forumul eXtreamCS.com...!
- Has thanked: 24 times
- Been thanked: 16 times
- Contact:
Din experienta mea, php intorcea eroare ca nu merge sa execute query-ul in caz ca n-ai privilegii, nu eroare de conectare.
Scuze atunci.
Scuze atunci.