开发者

php/mysql - access denied despite correct data

开发者 https://www.devze.com 2023-03-10 08:38 出处:网络
i\'m having a very strange problem: i\'ve set up a server, defined a db-password, installed phpmyadmin which is working.

i'm having a very strange problem: i've set up a server, defined a db-password, installed phpmyadmin which is working. but when trying to run a php开发者_StackOverflow中文版-script which opens a database, i'm getting this error:

Warning: mysqli::mysqli() [mysqli.mysqli]: (28000/1045): Access denied for user 'root'@'localhost' (using password: YES) in D:\Web\database.php on line 13

i've used exact the same data as in my config.inc.php for phpmyadmin. i already checked the root-user-rights and did reset the password inside phpmyadmin, didn't help.

any ideas? thanks


i found the solution by myself - i forgot that i'm using a different portnumber .. :/

0

精彩评论

暂无评论...
验证码 换一张
取 消