Jump to content
  • 0

mySQL access denied?


biohazard0134

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   0
  • Joined:  10/06/12
  • Last Seen:  

i already checked the inter_athena

// Global SQL settings

// overriden by local settings when the hostname is defined there

// (currently only the login-server reads/obeys these settings)

sql.db_hostname: 127.0.0.1

sql.db_port: 3306

sql.db_username: root

sql.db_password: xxxx

sql.db_database: rathena

sql.codepage:

// MySQL Character SQL server

char_server_ip: 127.0.0.1

char_server_port: 3306

char_server_id: root

char_server_pw: xxxx

char_server_db: rathena

// MySQL Map SQL Server

map_server_ip: 127.0.0.1

map_server_port: 3306

map_server_id: root

map_server_pw: xxxx

map_server_db: rathena

// MySQL Log SQL Database

log_db_ip: 127.0.0.1

log_db_port: 3306

log_db_id: root

log_db_pw: xxxx

log_db_db: logs

log_codepage:

log_login_db: loginlog

and still

when i run the server.. it says access denied for user 'root'@'localhost'

anyone plss help thx

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  195
  • Reputation:   23
  • Joined:  01/05/12
  • Last Seen:  

Check your password if its exactly same with your MySQL password, is your mysql same machine with server?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.03
  • Content Count:  569
  • Reputation:   11
  • Joined:  11/24/11
  • Last Seen:  

change your 127.0.0.1 to localhost.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   0
  • Joined:  10/06/12
  • Last Seen:  

@suranol local host?? my lan ip??

@david what is mysql same machine with server?? my passwords are correct

and thx for the reply

bump

bump me up plss ^^

Edited by biohazard0134
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  90
  • Reputation:   0
  • Joined:  09/29/12
  • Last Seen:  

you have to grant privileges.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  25
  • Reputation:   0
  • Joined:  10/06/12
  • Last Seen:  

@jazz grant privileges?? what is that??

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  90
  • Reputation:   0
  • Joined:  09/29/12
  • Last Seen:  

read this http://rathena.org/board/topic/59529-setting-up-a-centos-vps-w-rathena-vnc/

this part specially

//Now this is where it gets a tad confusing. Just replace your VPS IP and name from mine. Also come up with a different password...

//Keep in mind this is the same information you will be placing in "inter_athena.conf" & "subnet_athena.conf".

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...