Skip to content

Commit

Permalink
Merge pull request #126 from EmpireAssassin/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
GHMatti authored May 18, 2020
2 parents 2cd28e6 + de16c97 commit ec2bd6b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ Alternatively an url-like connection string can be used:

`set mysql_connection_string "mysql://username:password@host/database"`

If you are home hosting with no ssl you need to append your convar to match the following:

`set mysql_connection_string "server=localhost;uid=mysqluser;password=password;database=fivem;ssl=none"`

Further options can be found under https://github.com/mysqljs/mysql#connection-options for the mysql.js connection string, they can be added on both: the semicolon seperated string or the url-like string.

### keepAlive
Expand Down

1 comment on commit ec2bd6b

@dkden7e
Copy link

@dkden7e dkden7e commented on ec2bd6b May 18, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if it's a dedicated server but MySQL is localhost? it works without the convar, is this related at all to performance?

Please sign in to comment.