Page 1 of 1

[solved] User Permision Database

PostPosted: 24. October 2012 22:11
by JharriisTcK
Hello,

I've installed XAMPP 1.8.1 and after this i want to acces to my page productos.php and in this,
I open the DB whit a user created in this version but when i show the page

Warning: mysqli::mysqli(): (HY000/1045): Access denied for user 'userCreated'@'localhost' (using password: YES) in D:\xampp\htdocs\Metalicas\productos.php on line 3

whats the proble, and how can Fix it please... :D

Re: User Permision Database

PostPosted: 25. October 2012 03:40
by Altrea
Hi,

The problem is the user permission of mysql.
Please check with phpmyadmin, if the user userCreated for host localhost is defined and which permission it has.

best wishes,
Altrea

Re: User Permision Database

PostPosted: 25. October 2012 05:32
by JharriisTcK
Ohhh¡¡¡ Thank Altrea the problem whas this

The servidor user were defined as %, I change the value to local and (Y)

Re: User Permision Database

PostPosted: 25. October 2012 05:35
by Altrea
I'm glad your problem could be solved :)
Wish you much fun witn XAMPP and all that stuff 8)