Using_rAsql
Pages 190
Getting Started
- Installation instructions
- Transitioning from SVN to GIT
- Compiling on your OS
- Connecting & Starting rAthena
Configure your Server
- Scripting like a pro!
- Server Modifications and what to expect
- Database Configuration
Customization
- Adding Custom Items
- Adding Custom Monsters
- GRF Encryption
Setup the Client
- Data folder
- Diff files
Misc Databases
Third-Party Software
Clone this wiki locally
title: Using rAsql permalink: /Using_rAsql/
rAsql is "an easy to use one-click installer for a local SQL testing environment on Windows." [2] It automatically starts a MySQL instance by creating a virtual drive on the computer and also provides a management tool in the form of HeidiSQL. rAsql is based on Uniform Mini Server.
Do note that rAsql is meant for local testing of rAthena only and should not be used for hosting a public server.
History
TXT save engine offered a way for users to test scripts and other things with basically zero set-up required. After the fork from eAthena, Users were asked to vote as to what should be done about the TXT support. It has been decided that support for TXT would be dropped [1]. rAsql was created by Yommy to serve as a replacement for TXT, which was officially dropped in revision 15503.
Downloading rAsql
rAsql can be obtained from the rAthena GitHub repository:
https://github.com/rathena/rAsql
Setting up rAsql
rAsql is preconfigured and doesn't require any additional setup, except initial database import. It can be done with any SQL client, preferably with bundled HeidiSQL.
By default rAsql listens on the same port as regular MySQL server, ie. 3306, and accepts connections only from localhost. There is one SQL user ragnarok (password: ragnarok) and one user database ragnarok.
Initial database import in HeidiSQL
- Running
mysql_start.batwill start the MySQL instance and open HeidiSQL.
- Click Open. This will connect you to the MySQL server. Select your
ragnarokdatabase.
- Select Import -> Load SQL File... (or press Ctrl+O). Navigate to sql-files inside your rAthena folder and open main.sql.
- Press F9 to run the script.
Controlling rAsql
Starting
To start rAsql run mysql_start.bat.
Stopping
To stop rAsql run mysql_stop.bat.
Password Change
To change the default password for the user ragnarok you will need to:
- Click Tools -> User Manager
- Input the new password for both
ragnarok@localhostandragnarok@127.0.0.1 - Open
mysql_close.batin notepad and change the password on the line:
udrive\bin\mysqladmin.exe --port=3306 --user=ragnarok --password=ragnarok shutdown