Advertisement
Guest User

Untitled

a guest
Mar 9th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. String executeCmd = mySQLDir+"\bin\mysql -u root --password= testdb < " + backupFile;
  2. String[] executeCmd = new String[]{mySQLDir+"\bin\mysql", "-u", "root", "--password=", "testdb", " < " + backupFile};
  3. String[] executeCmd = new String[]{mySQLDir+"\bin\mysql", "--user=root", "--password=" , "testdb -e", " source "+backupFile};
  4. String executeCmd = mySQLDir+"\bin\mysql -u root --password= testdb -e source "+ backupFile;
  5.  
  6. C:xamppmysqlbinmysql Ver 15.1 Distrib 10.1.9-MariaDB, for Win32 (AMD64)
  7. Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.
  8.  
  9. Usage: C:xamppmysqlbinmysql [OPTIONS] [database]
  10.  
  11. C:xamppmysqlbinmysql
  12. --user=root
  13. --password=
  14. testdb -e
  15. source C:UsersAADocumentsNetBeansProjectsTestProjectbackuptestDBBackup69-03-2016%19-27-45.sql
  16.  
  17. String[] executeCmd = new String[]{mySQLDir+"\bin\mysql", " -u ", "root", " --password=", " testdb ", "< " + backupFile};
  18.  
  19. C:xamppmysqlbinmysql -u root --password= test < C:UsersAADocumentsNetBeansProjectsTestProjectbackuptestDBBackup69-03-2016%19-27-45.sql
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement