Setting up MySQL in a CoCalc project
Links
use these steps
Walkthrough
Create scripts. I'm putting them in ~/MYSQL. Run scripts as follows:
initialize with
mysq.sh --initialize
capture initial root password from log/mysql.err
start the server with
mysq.sh
(optional) in another terminal session,
tail -f .../log/mysql.err
in another terminal session, start a client with
mysqc.sh -u root -p
use the root password from previous step
set new password with