Jump to content
  • 0

SQL connection impossible


Question

Posted (edited)

Hey guys,

For a few days I'm trying to setup a simple rathena server on my local computer.

I spent plenty of hours attempting to solve my sql connection issue but I have still no idea what's the matter.

I made sure that the usernames, passwords and databases are filled in correctly, what makes me crazy.

My server applications always look like that:

http://puu.sh/jJQpu/5cc9d2fb3c.png

As the whole relevant environment of my problem is really laborious to describe, I think it would be the best if someone could face the problem with me via a TeamViewer session. However you don't know my computer I can tell you where which application is installed, in doubts you may reinstall every necessary program.

 

I followed these guides:

https://rathena.org/wiki/Installation_on_Windows

https://rathena.org/wiki/SQL_Installation

 

It's only about setting up a simple rAthena SQl server.

If you could help me with that I would be very glad :)

 

Thanks a lot in advance

 

greets

Captain09

Edited by Captain09

8 answers to this question

Recommended Posts

Posted

Alright, stupid question incoming  /meh .

 

I don't know exactly how MySQL Workbench works cuz I used AMPPS during my setup, but in your first image it shows only 1 connection on the left, with a user of "root". Again, I'm not sure how it works, so I don't know if this is just any active MySQL servers you are running, or a list of users.

 

My question is, did you already create a user named "ragnarok" with a password of "ragnarok" and give it all permissions for the database you want to access?

Posted (edited)

Yes, I followed the guide 'install SQL' which instructed me to create a user.

I created a user "ragnarok" with the password "ragnarok" and gave it all permissions.

Edited by Captain09
Posted

I'm not sure if you're aware of what you are doing or not.

1.please make sure you have MySQL server installed in your local computer.

2.Make sure you have the schema/database in your MySQL Server.

3.Ensure that the database name, host and credentials are correctly set.

 

port for mysql is 3306, no need to change this.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...