execute mysql file
mysql -u yourusername -p yourpassword yourdatabase < text_file
execute mysql file
mysql -u yourusername -p yourpassword yourdatabase < text_file
tsql cmd exec script from file
#Integrated Security
sqlcmd -S Serverinstance -E -i import_file.sql
#UserName and Password
sqlcmd -S <server Name> -U sa -P sapassword -i inputquery_file_name -o outputfile_name
run sql script from command line
mysql -u yourUserName -p yourDatabaseName < yourFileName.sql
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us