I have a remote server and I am trying to get mysql working on it, but so far no success. I made a sql 5.7.32 server on my pc and I have mysql downloaded on the host server, but I dont understand what I need to do now. I can connect to mysql on my pc using heidsql, but I dont understand if I need to connect to the host pc ip, because that isnt working for me
#How to set up mysql for a ubuntu server?
75 messages · Page 1 of 1 (latest)
Why not use newest mysql and host it on the ubuntu server and not on your own pc
Because that will cause latency to be high. And might cause lag
How can I go about doing that?
Well
Google "how to install mysql server ubuntu xx.xx"
Replace the x with your ubuntu version
Also to allow remote connection you will need to edit the mysql config file and make a user that can connect from anywhere
Write
lsb_release
In the ubuntu console
It is most likely 20.04
I get this error
I tried downloading mysql before aswell
and got the same problem
I am pretty sure I alr have mysql
but I dont know what I need to do with the mysql do get it working with the plugins
You have to fix the broken packages issue
How i tried finding a way but didnt find anything useful
did that
got further now
what to I need to set here
ik the ip alr
but where can I find what should go in the other fields?
turned out my server install included lamp, wich did its own mysql download
so I switched to one with no added programms
who'd have thought that the LAMP stack contains MySQL 

Got any idea what I am supposed to put in the fields?
I mean you need an user/password
that's about it
well, you'd first want to create an user
using this?
CREATE USER 'sammy'@'localhost' IDENTIFIED BY 'password';
and to I just put what ever password and name?
and replace localhost with ip
@frigid bridge
well yes
I am supposed to use ipv4 right in the command, because thats what I did
ok got it working
If you want any IP to be able to connect you can use % instead of the IP
do you know any reason why only these 2 generated and not vehicle/item shop veriants, or am i supposed to make those myself
do i remove the uconomy file and try again?
I mean it should be all local connections anyways so even just using loopback for everything should work
I am using local
Just remote accessing it trough my pc
But why doesnt it generate the item and vehicle shop sql files
When it does generate the uconomy file
<DatabaseAddress>127.0.01</DatabaseAddress>
<DatabaseUsername>root</DatabaseUsername>
<DatabasePassword>my password here</DatabasePassword>
<DatabaseName>unturned</DatabaseName>
<DatabaseTableName>uconomy</DatabaseTableName>
<DatabasePort>3306</DatabasePort>
is there an actual root user set?