#QBcore.sql

1 messages · Page 1 of 1 (latest)

viscid pilot
#

When I try to start my server, it gets stuck on awaiting scripts. I asked ChatGPT, and it says I don't have full access to the qbcore.sql. How do I fix this

This is my first time doing this, so I will be slow

#

idk what to do like do i go to git hub and reinstall it ?

sleek tundra
#

Restart your server

Wait for uptime

Go to live console

type in

ensure qb-core

Screenshot the results and send them here

viscid pilot
#

is this the right thing ?

sleek tundra
#

Yeah

#

Where is your oxmysql file

#

Go to resources
Search for oxmysql

#

@viscid pilot

viscid pilot
sleek tundra
#

Go back

#

And go to tx admin

#

Click resources

#

Type in oxmysql

#

Send screenshot

viscid pilot
sleek tundra
#

Download this

#

Put in server

#

Restart server

#

Don’t take it out of server

viscid pilot
#

where what file ?

sleek tundra
viscid pilot
#

yeah

sleek tundra
#

Click it

viscid pilot
#

i have

#

i downloaded it

sleek tundra
#

Put it in resources

viscid pilot
#

ok

sleek tundra
#

That’s where stuff goes

#

Sorry I know your new my bad

viscid pilot
#

it ok like in the qb file or not or just in resoures

sleek tundra
#

Resources

viscid pilot
#

ok like this

#

wait do i take the stuff in the files out of it or not

#

sorry it my first time

sleek tundra
#

Unzip folder

Make sure name is

oxmysql

Put folder in resources

viscid pilot
#

oh

#

so make a file called oxmysql adn put the stuff from the ziped file into resoures

sleek tundra
#

So when you unzip the zip file it gives you

#

It gives you a folder right

#

Or does it have a bunch of contents with no folder path

#

I’ve never had to download this so I’m not sure how the package is received

viscid pilot
#

it only let me extract it so i made a file called [oxmysql] and i put the stull in the ziped file into it

sleek tundra
#

No

#

Put it in resources

viscid pilot
#

what like this

sleek tundra
viscid pilot
#

like that

#

i see

sleek tundra
viscid pilot
#

how did u unzip it

sleek tundra
#

txt match it

viscid pilot
#

oh

#

so like this

sleek tundra
#

Good

#

Show me your server cfg

#

Where your ensure lines are

viscid pilot
#

show i not put my server key in

sleek tundra
#

That's why I said where your ensure lines are

#

Screenshot the top of where it starts the ensures

viscid pilot
#

is that it im sorry for being show

sleek tundra
#

Scroll down

#

where you see the first "ensure"

viscid pilot
#

that

sleek tundra
#

Excellent. Restart your server

viscid pilot
#

ok

sleek tundra
#

Just be careful when your navigating your folders, I did similar stuff before too. It's super easy to accidently grab a folder, delete it etc. Make a isolated ensured bracketed folder that you can throw your test scripts and stuff in to reduce misclicks

viscid pilot
#

ok should i run the server to see if it works

sleek tundra
#

Yeah

viscid pilot
#

kk

sleek tundra
#

That's what I mean by restart server just means run it or restart 🙂

viscid pilot
#

oh ok thx you

#

it get stuck on this still

sleek tundra
#

That's ok we fixed one part of the issue

#

Ensure qb-core again in live xonsole

#

Console

#

Show me result

viscid pilot
#

it diffrent now

sleek tundra
#

Oh shit I see

#

You downloaded source code

viscid pilot
#

oh

sleek tundra
#

I think

viscid pilot
#

that not good

sleek tundra
#

Let me double check, that's usually the reason it's not started even though declared in the cfg

viscid pilot
#

ok thx you

sleek tundra
#

Download the latest relesse

#

Release

viscid pilot
#

ok done

#

wait

sleek tundra
#

Remove the oxmysql folder we did originally

#

Delete it

viscid pilot
#

ok

sleek tundra
#

Add the new one

#

Same process different zip folder

viscid pilot
#

this one yes im a send a ss 1 sec

#

that one

sleek tundra
#

Double click into it

#

That's a zip file

#

We want the folder in it

viscid pilot
#

that inside of it

sleek tundra
#

Yeah inside the zip there is a folder tho

#

Just drag the folder out

viscid pilot
#

ok

sleek tundra
#

That's the contents of the folder we want to drag out

viscid pilot
#

only the files not the txt

sleek tundra
viscid pilot
sleek tundra
viscid pilot
#

oh

sleek tundra
#

You are not in the right one

#

That's the old one

#

Delete it

viscid pilot
#

ok

#

i need this one yes

sleek tundra
#

Yes

viscid pilot
#

ok

sleek tundra
#

Click into it

Do not click into the folder inside

Drag it to your resources

#

Restart your server

#

You are dragging the folder that is inside the zip folder to your resources not the zip folder to your resources

viscid pilot
#

ok im doing it now

sleek tundra
#

You are NOT dragging the contents of the folder that is inside the zip folder anywhere. We only care about the carrier aka the folder that is NOT the zip folder

viscid pilot
#

i draged this ill ss it

sleek tundra
#

If that folder shown in your screenshot is in your resources folder, perfect.

#

Restart server

viscid pilot
#

ok ill do it now

#

it sayes this when i try to log in now

sleek tundra
#

Is your database running

viscid pilot
#

yes

sleek tundra
#

How did you run your server recipe

viscid pilot
#

hmm cfx

#

cus it did not let me do qbcore it was faling at take 16

sleek tundra
#

So wait it did not let you do qb-core so what did you do

viscid pilot
#

it it diddent let me install qbcore so i ask ChatGPT how is a another way i can do it and it said i can do it bu hand so, it til me to install the default cfx and then down load the qbcore throught github and mke the files and pu it in that way

sleek tundra
#

Show me your cfg where it had the database connection

viscid pilot
#

what that sorry the server cfg ?

sleek tundra
#

Yea

viscid pilot
#

ok waht do u need from that

sleek tundra
#

Send screenshot of where it shows connection database name

viscid pilot
#

so i have this

#

i have more 2 secs

sleek tundra
#

Not what I need yet

viscid pilot
#

that ?

sleek tundra
#

Yes

#

Now show me your database

#

Where it shows your database name

viscid pilot
#

ok is that on xampp ?

#

or tx

sleek tundra
#

Do you have Heidi downloaded

#

Or something similar

viscid pilot
sleek tundra
#

set mysql_connection_string "mysql://root@localhost/harmony"

#

Rename your database to just harmony

#

Then replace the line with mine in cfg

#

See if this works

viscid pilot
#

sorry so how do i change the name ?

sleek tundra
#

Can you right click it on the left where it says harmony rp

#

And rename ?

viscid pilot
#

no?

#

ok i done it

sleek tundra
#

Ok restart server

viscid pilot
#

wait what do u mean by replace the line with cfg adn the set mysql ect

#

do u mean i have to go to the server cfg and do what ?? sorry

sleek tundra
#

You see the line where it says set the sql connection in your server cfg

#

Delete that entire line and put mine

set mysql_connection_string "mysql://root@localhost/harmony"

viscid pilot
#

oh ok

#

ok restart the server now yes

#

yeah it still stuck.

sleek tundra
#

You tried launching this recipe tonight right

viscid pilot
#

yeah

#

do you know what worng or ?

sleek tundra
#

im working while doing this so replies are in-between work

viscid pilot
#

ah i seee thx tou for getting to me

viscid pilot
sleek tundra
#

hiii ill help u soon