nhutcaucui / streetlity-db

0 stars 0 forks source link

Install mysql client for working with mysql server in docker from host #2

Closed nvnamsss closed 4 years ago

nvnamsss commented 4 years ago

to install mysql client, we are using package mysql-server.

I tried mysql-cores but it caused a problem when automatical connect to the local server thus I decided to use mysql-server which contains contain both client and server.

To install on ubuntu 18.04, we are using

$ sudo apt install mysql-server

A problem occurred when I testing mysql client, the CONSTRAINT causing duplicate foreign key thus I removed the CONSTRAINT