@echo off SET mysqldir=C:\mysql\bin SET mysqlhost=localhost SET mysqldatabase=dbname SET mysqluser=user SET mysqlpassword=password if [%1]==[] goto usage IF NOT EXIST %1 GOTO nosuchfile @REM Change to mysqldir REM CD %mysqldir% @REM importing db "%mysqldir%\mysql.exe" -u %mysqluser% -h%mysqlhost% -p%mysqlpassword% %mysqldatabase% < %1 pause goto end :usage echo -How to use- echo EXAMPLE: echo %0 sqlfile.sql goto end :nosuchfile echo --ERROR-- echo no such file %1 :end
Moodle 3.8.1+ ----------------------------------------------- File: admin/mailout-debugger.php #!/usr/bin/php Notice : Disabled. in \admin\mailout-debugger.php on line 73 File: admin/settings/appearance.php Notice : Undefined variable: hassiteconfig in \admin\settings\appearance.php on line 10 Fatal error : Uncaught Error: Call to undefined function has_any_capability() in \admin\settings\appearance.php:10 Stack trace: #0 {main} thrown in \admin\settings\appearance.php on line 10 File: admin/settings/badges.php Notice : Undefined variable: hassiteconfig in \admin\settings\badges.php on line 30 Fatal error : Uncaught Error: Call to undefined function has_any_capability() in \admin\settings\badges.php:30 Stack trace: #0 {main} thrown in \admin\settings\badges.php on line 30 File: admin/settings/courses.php Notice : Undefined variable: hassiteconfig in \admin\settings\courses.php on line 32 Fatal error : Uncaught Error: Call to undefined function
Comments
Post a Comment