mysql - Opencart database user issue -
i have problem installing opencart. when point need type in name , user database, error: "access denied user 'slo114_agp'@'(the ip of domain)' (using password: yes)". 100% sure using right password database user, have given rights user. hosting using hostgator , uploaded files via filezilla. not sure put in hostname, since tested opencart locally using localhost, here put in domain. thank help.
have flush hosts after creating user. setting example creating user on host 192.168.10.193 , access it. setting % in host in syntax, can set host wants login. testing purpose, first check it works fine replace host required host.
mysql> create user bob@'%' identified 'test'; query ok, 0 rows affected (0.00 sec) mysql> flush hosts; query ok, 0 rows affected (0.00 sec) mysql> flush privileges; query ok, 0 rows affected (0.00 sec) mysql> exit bye
now access mysql server user remotely.
hiteshmundra@smart:~$ mysql -ubob -ptest -h 192.168.10.193 warning: using password on command line interface can insecure. welcome mysql monitor. commands end ; or \g. mysql connection id 4 server version: 5.6.24-log mysql community server (gpl) copyright (c) 2000, 2015, oracle and/or affiliates. rights reserved. oracle registered trademark of oracle corporation and/or affiliates. other names may trademarks of respective owners. type 'help;' or '\h' help. type '\c' clear current input statement. mysql>
Comments
Post a Comment