golang-mysql-demo

command module
v0.0.0-...-45471de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

README

golang-oracle-demo

Start MySQL 8.0
mkdir /u01/data/mysql8; chmod 777 /u01/data/mysql8
docker run -d --name mysql8.0 --restart=always -v /u01/data/mysql8:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=oracle -e MYSQL_DATABASE=oracle -e MYSQL_USER=oracle -e MYSQL_PASSWORD=oracle -p 3308:3306 m
ysql:8.0.31

docker exec -it mysql8.0 mysql -uroot -poracle -e "alter user 'oracle'@'%' identified with mysql_native_password by 'oracle';"
Usage

Open http://localhost:3001 in your browser.

Reference:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL