Home >System Tutorial >LINUX >Create Mariadb database with Docker
If you are prompted that the sock file cannot be linked, you need to connect to the mariadb container of docker to authorize the link
Link to docker mariadbGet the CONTAINER ID of mariadb
The CONTAINER ID of my mariadb mirror here is 255650e5e83d
Log in to mariadb Authorize the link permissions of the root user of mysql (the same settings are set for other general users) Connect to mysql againThe above is the detailed content of Create Mariadb database with Docker. For more information, please follow other related articles on the PHP Chinese website!