Task Detail

  • Activity on Thu Apr 12 2018 18:14:56 GMT+0000 (UTC) 1. From inside of the container, I can "uname -a" to check on what linux this MySQL instance is running on. 2. Copied sam.sql to the docker container: 2.1 First opened a new terminal and ran "docker cp Desktop/sam/sam.sql gphan-mysql:/sam.sql" 2.2 Second, used the terminal with the container bash shell is running and run "mysql -u root -p" to get into mysql first, then "create database sam". 2.3 Third, exit to the bash shell again, and ran "mysql -u root -p sam < sam.sql" to import sam.sql to sam database.

    10/27/2024 22:15:45