php - Can I disable mysql protection allowing access without any authentication in phpmyadmin (XAMPP)? -


i tried run application on localhost, stuck problem.

someone told me need give password users , privileges. result, have tried giving permissions users in users , privileges. don't know username , password (due problem).

can disable mysql protection allowing access without authentication in phpmyadmin (xampp)?

this error (during execution @ localhost):

cdbconnection failed open db connection: sqlstate[hy000] [1045] access denied user 'root'@'localhost' (using password: yes)

first, authentication not done @ phpmyadmin level @ mysql level. disable mysql server's "protection" (authentication) have restart mysql server special option. have find, depending on xampp version, my.ini file located, edit described in how start mysql --skip-grant-tables? (in answer tonycoupland) , restart mysql service.


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -