MySQL - Loading a Database
#1

I'm starting to learn MySQL and I've looked at a lot of tutorials. I think the best way to fully understand the language is to download a script with one and mess with it for a bit. So, I downloaded this script: https://sampforum.blast.hk/showthread.php?tid=22818.

Now, the problem is that the download files comes with a database.sql. He says this in the thread:

Quote:
Originally Posted by Moderntopia
Посмотреть сообщение
You also need a working MySQL server, which I expect you to have a basic understanding of already. The database.sql file contains the database structure, just execute the SQL queries in that file on your DB.
How do I do that?
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=391920
https://sampforum.blast.hk/showthread.php?tid=38561
Reply
#3

Some background: a database server is where you execute commands, such as inserting a new user account. The database server takes care of saving it on the harddisk somewhere. The .sql file basically contains instructions for your database server on how to create a structure for the stored data so that your gamemode can store the information correctly.
Reply


Forum Jump:


Users browsing this thread: