Jump to content
  • 0

Sql problems.


Mentalist

Question


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  67
  • Reputation:   1
  • Joined:  09/23/12
  • Last Seen:  

When i try to access to mysql , i got this error , can anyone help me with this centos issue?

post-8076-0-36988200-1379066123_thumb.jpg

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  185
  • Reputation:   53
  • Joined:  01/04/12
  • Last Seen:  

You should add user with '%' as host. Then you may connect to mysql.
 

CREATE USER 'username'@'%' IDENTIFIED BY 'some_pass';
GRANT ALL PRIVILEGES ON ragnarok.* TO 'username'@'%';
FLUSH PRIVILEGES;

or you may connect through ssh tunnel

Advanced tab put your host and root log/pas

then go to Setting tab and set mysql hostname/ip = localhost/127.0.0.1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  67
  • Reputation:   1
  • Joined:  09/23/12
  • Last Seen:  

Solved , really thank you!

Edited by Mentalist
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...