I wrote a batch script that it creates a sql file for my database.
It will automatically write id and image file direction and idproduct but I don't know how to insert mysql code with using batch file to xampp phpmyadmin
I wrote a batch script that it creates a sql file for my database.
It will automatically write id and image file direction and idproduct but I don't know how to insert mysql code with using batch file to xampp phpmyadmin
Simply use the MySQL.exe tool in your batch:
mysql -u username -p password database_name < "c:\path\to\SqLfile.sql"