#PORT ALREADY IN USE ERROR??? WHO KNOWS HOW TO FIX
1 messages · Page 1 of 1 (latest)
The correct way to write is txAdmin instead of TX ADMIN.
:point_right: How to completely shutdown txAdmin:
For Windows:
Close the FXServer terminal or go to
Task Manager > Detailsand kill allfxserver.exeprocesses.
If that doesn't work, restart the host.
For Linux:
If your server is running viascreen, search on how to kill a screen session (screen -lsand thenscreen -X -S <number> quit).
Alternatively you can also just restart the host, and unless fxserver has auto-start, that will make sure the process is terminated.
ZAP-Hosting:
Login to the ZAP panel, select your server, then at the top click on the red pause/stop button at the top right of the screen.
Pterodactyl (most providers):
On your host panel press the Stop button and then press Kill.
now im getting black screen flying into city
flying into the city>
do you mean joing your server
this after loading screen, just a loading icon in the corner and no load
yes joining server sorry
do you have an esx databse?
yes
whats the name of it
this name?
yes
my sql was not loading, so i followed a video to replace my data folder in xampp with my backup sql folder, after i did this im getting this error
:point_right: If you are having ECONNREFUSED 127.0.0.1:3306 when connecting to the database, this probably means you do not have a database installed or running.
Windows Home Hosted or VPS:
:one: Download and install MariaDB: https://docs.yorick.gg/FiveM/Server/Windows/Database#download-mariadb
:two: To make sure you can edit/view your database, download and install HeidiSQL: https://docs.yorick.gg/FiveM/Server/Windows/Database#download-heidisql
:three: On txAdmin, click on the Cancel button and try again.
Linux VPS or Self Hosted:
It depends on your distro (like CentOS, Ubuntu, etc), you will need to google how to install MariaDB in it.
Pterodactyl setups (most hosting providers):
Open a support ticket at your hosting provider to ask their help in setting up the database.
If your pterodactyl is self hosted (you own the instance), this video MAY be the solution.
follow this
run the phpmyadmin?
will i have to remake my database and all the stuff i ran thru my sql?
yes, which wont matter atm as it seems it doesnt find your database anywya
well looking at this you dont even have a database for your server
so either way your stuck at having to do it
how can you tell?
bc normally databses have a name just for example in your case your database was esxlegacy_028db4
this has to be an error from what i did with xampp theres no way to reverse?
which you dont have any of those. tbh the EASIEST way would to restart your server and move your scripts over, otherwise you can figure out how to restore it
theres no way to restore or you dont know how
i used the backup folder in xampp tho
Ok..so do u have said backup
?
this is the backup i used for my original data folder, this is in the xampp file location inside the "mysql" folder
this is what youtube told me to do to fix the "mysql" not starting error in xampp
Ill tell you what, if your ginna keep using xampp be my guest but I cant help then
once i did this, the sql was starting again, but the tx did the error you made me fix originally. before all of this, my VPS screen went black so i did CTRL+ALT+END to sign out and reboot my vps. once i did this , is when the sql wasnt starting in xampp
so basically long story short you cant help me with this?
Its not that i cant its more so I wont since you are using software that isnt meant for this stuff
i didnt know this originally, so once i already installed 250+ scripts im just learning now not to use xampp. that is what i was taught to use, so its evident id rather just continue with what i was using because I didnt know of mariaDB.
have you considered switching
therefore when i make v2 of my city i will switch but for now ive been working installing and develeping my own server for months on end. i now know this causes issue but this is my first issue
live and you learn is a term lol but if yall can help me figure it out would be greatly appreciated, if not just lmk
Ill tell u this ok,
If u have a backup of your sql/database use it and ur good. If not your fucked and will have to redo it all which at that point switch
No.
what am i missing what should i be looking for
ZAP-Hosting: