Hello, would you like to help me? Thank you, I have the following query:
CREATE DATABASE almacen;
which I want to execute through a Bat, I thought of something like this:
@echo off echo --test >crear.sql echo CREATE DATABASE almacen1;>>crear.sql C:\xampp\mysql\bin\mysql.exe -h localhost -u root -ptresa456 < "crear.sql"
but it does not run, how can I run it from batch?