GTA V version? Latest
Up to date? yes
Legit or Pirate copy? Legit
Steam/CD/Social Club? Steam
Windows version? 10 home
Did you try to delete caches.xml and try again? yes
Error screenshot (if any) Provided below
System specifications 16gb ram, 1050ti, poopoo motherboard and cpu
What did you do to get this issue? Re-made my server
What server did you get this issue on? My own
CitizenFX.log file
.dmp files/report IDs

If an issue with starting:
GTA V folder screenshot
GTA V/update/x64/dlcpacks screenshot
Filepath to FiveM folder
FiveM client folder screenshot
Did you try to disable/uninstall your Anti-virus?

Hi im sorry if this is in the wrong topic but im new to the forums, i have this issue

and im not sure how to fix it, i have re-installed essentialmode and fiddled around with esx and no luck. Any help would be appreciated. Thanks

1 Like

Hello, this is a friendly reminder because this is your first time creating a topic (or it has been a while since your last topic) in this category.

Please note that most of the support is provided by the FiveM community on a voluntary basis. We ask you to be patient; there is no guarantee we have a solution to your problem(s). To avoid unnecessary/duplicate topics, please browse the forums before creating a topic.

To improve your chances of your issue(s) being solved, please provide as much information as possible about the issue(s) you are having. Also —whenever possible— please use the template given to you when creating a topic.

Thanks for keeping these forums tidy!
:mascot:

You didn’t set your mysql login credentials in your server.cfg

im pretty sure i did. i added the line you where telling other people to add. caused a bigger error

Can you show your server.cfg?

set mysql_connection_string “server=localhost;uid=mysqluser;password=password;database=fivem”

These resources will start by default.

start mapmanager
start chat
start spawnmanager
start sessionmanager
start fivem
start hardcap
start ■■■■■■■
start scoreboard
start playernames

From ESX Pack

start async
start cron
start es_extended
start scoreboard
start instance
start es_camera
start skinchanger
start onandoff
start esx_accessories
start esx_addonaccount
start esx_addoninventory
start esx_phone
start esx_society
start esx_ambulancejob
start esx_holdupbank
start esx_animations
start esx_atm
start esx_bankerjob
start esx_barbershop
start esx_basicneeds
start esx_billing
start esx_boat
start esx_boilerplate
start esx_clotheshop
start esx_cruisecontrol
start esx_datastore
start esx_dmvschool
start esx_drugs
start esx_eden_garage
start esx_holdup
start esx_identity
start esx_joblisting
start esx_jobs
start esx_license
start esx_lscustom
start esx_mecanojob
start esx_menu_default
start esx_menu_dialog
start esx_menu_list
start esx_migrate
start esx_optionalneeds
start esx_policejob
start esx_property
start esx_realestateagentjob
start esx_service
start esx_shops
start esx_sit
start esx_skin
start esx_status
start esx_taxijob
start esx_vehicleshop
start esx_voice
start esx_weaponshop
start esx_bikerjob
start Evoke
start peds
start Compass
start removeAIcops
start POLHIL
start Realveh
start 3dme
start ADMINPED
start els
start bob74_ipl
start ALPR
start AMBO
start disabledispatch
start Divvyvan
start help
start TESLAX
start taxi
start weapdel
start TerryPol
start allcity_wallet
start mellotrainer
start loadscreen
start calmwater
start weepoons
start es_carwash
start bahamaMama
start SSPD
start OCRPRacetrack
start OCRPRacetrack_Models
start Sandytowyard
start pointing
start handsup
start NoPlayerBlips
start carhud
start Dealership1
start casino
start chat-theme-civlifechat
start esx_rpchat

##CARS##
start LSCS-Pack
start civ6
start STI
start Rs6
start Patrol
start titan
start AFO
start f22a
start YR1
start 911
start camaro
start char08
start m5
start Ram
start rc390
start RRS
start Bus
start 2014mc
start 2015far
start 2016P
start gtr
start RRS
start i8
start fq400
start PD

Is that the proper DB credentials? Or did you just copy paste from the interwebs…

its a homehosted server so the db is a default thingo.

now i am getting Error: (node:11732) UnhandledPromiseRejectionWarning: Error: ER_DBACCESS_DENIED_ERROR: Access denied for user ‘’@‘localhost’ to database ‘fivem’
at Handshake.Sequence._packetToError (mysql-async.js:239:14)
at Handshake.ErrorPacket (mysql-async.js:13357:18)
at Protocol._parsePacket (mysql-async.js:6314:23)
at Parser._parsePacket (mysql-async.js:6925:10)
at Parser.write (mysql-async.js:6535:10)
at Protocol.write (mysql-async.js:6061:16)
at Socket. (mysql-async.js:683:28)
at Socket. (mysql-async.js:1117:10)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)

Well looks like you didn’t enter the right credentials… not even a username it looks like

i mean, the defualt db username is root

which i did change it to
and nothing happend :frowning:

Then enter root in the connection string instead of myqluser

yeah i did still getting the massive error i posted above

Make sure password and databasename are also set right

there is no password so do i just leave it as password?

ok getting this now Error: (node:9280) UnhandledPromiseRejectionWarning: Error: getaddrinfo ENOTFOUND local local:3306
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26)
--------------------
at Protocol._enqueue (mysql-async.js:6167:48)
at Protocol.handshake (mysql-async.js:6074:23)
at PoolConnection.connect (mysql-async.js:711:18)
at Pool.getConnection (mysql-async.js:4753:16)
at Pool.releaseConnection (mysql-async.js:4862:10)
at Pool._removeConnection (mysql-async.js:4982:8)
at Pool._purgeConnection (mysql-async.js:4963:8)
at Handshake.onConnect (mysql-async.js:4762:14)
at Handshake. (mysql-async.js:1117:10)
at Handshake._callback (mysql-async.js:1083:16)
Error: (node:9280) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 13)

What did you enter as host? Maybe just show your whole MySQL connection string again

set mysql_connection_string “server=local;uid=root;password=password;database=fivem”

server should be localhost, password probably empty (or removed)