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 .. :/
精彩评论