mysql with terminal code example
Example: mysql terminal
mysql --user=user_name --password db_name
# Execute a script with logs:
mysql db_name < script.sql > output.tab
mysql --user=user_name --password db_name
# Execute a script with logs:
mysql db_name < script.sql > output.tab