Skip to content

FiveM: Importing an SQL File

Learn how to properly import SQL files so your FiveM resources work correctly with your database → Find out more now

10 November 20263 min read0 Views0 helpful

Introduction

Many resources for FiveM require a database to function properly. Therefore, it is important that you correctly import the SQL files provided with your resources into your database so that the resources can create entries in your database and work as expected.

Info

Not all resources require a database to function! When you download a resource, check the description or documentation to find out if you need to import an SQL file.

Often, one or more files with the .sql extension are included in the resource's download files. These need to be imported into the database.

FAQ

Frequently asked questions

Open the Databases section in the dashboard of your game server and import the .sql file provided with the resource into your existing database.
Not every resource requires a database. Check the resource’s description or documentation to see if an SQL import is necessary.
Open the .sql file with a text editor and remove any CREATE and USE database lines. Your FiveM game server already has its own database with a different name, so these lines would prevent the import.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 Users found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP support team knows your product — briefly describe your issue and we'll help you personally.