Chapter 1: L2JMobius Learning - Install mariadb10 database

L2JMobius is a set of open source LineageII server-side code written in Java language. If you want to run the L2JMobius source program, you must first set up the environment, and you need to install the mariadb database and jdk. In this chapter, we introduce how to install the mariadb10 database. The download address is (Alibaba cloud image):

https://mirrors.aliyun.com/mariadb//mariadb-10.4.30/winx64-packages/mariadb-10.4.30-winx64.msi

Of course, you can also download it through my Baidu network disk:

https://pan.baidu.com/s/1XdlcCFPvXnzfwFoVK7Sn7Q?pwd=avd4

After getting the mariadb-10.4.30-winx64.msi installer, we can start the installation. Mariadb is actually a sister version of MySQL. We don't need to worry too much about this historical issue. Mariadb10 should correspond to the MySQL8 version. If you are a developer, you can also use Mysql to replace Mariadb.

Click "Next"

Accept the agreement and click "Next"

By default, click "Next"

Select an installation path and click "Next"

Add a root password (for example: 123456), check prohibit remote login, check use utf-8 default encoding, click "Next"

Set the service name (the default is fine), set the access port (the default is 3306, but I have installed MySQL, so I use port 3307 here), and then set the cache size (this depends on your computer). Click "Next"

It is not checked by default, continue to click "Next"

Click "Install" to start the installation

Waiting for installation...

After the installation is complete, click "Finish" to exit.

After Mariadb is installed, a graphical management tool will be provided by default, as shown below

We double-click to open it.

Click "New" to create a database link (to the Mariadb we just installed).

Enter the root password (123456 just set), and the modified port (3307), click "Open"

This interface is relatively clear, with the database list on the left and the operation area on the right. Next, we import the L2JMobius database. This database script is in my network disk, you can download it. What if it is imported?

Click the button of the folder above the toolbar and select the downloaded "l2jmobiusc6.sql" database script.

After the execution is completed, it is successfully imported

On the left we can see that the database name is "l2jmobiusc6", and on the right we can see that there are many data tables.

We will stop here in this chapter. The content involved in this chapter has been uploaded to Baidu Netdisk:

https://pan.baidu.com/s/1XdlcCFPvXnzfwFoVK7Sn7Q?pwd=avd4

Welcome to add Penguin exchange skirt: 874700842 (you can also download all the content in the skirt file).

Guess you like

Origin blog.csdn.net/konkon2012/article/details/131563687