import database from gzipped dump

Error message

Deprecated function: Function create_function() is deprecated in GeSHi->_optimize_regexp_list_tokens_to_string() (line 4698 of /home/projects/peter-j-lord/sites/all/libraries/geshi/geshi.php).
Rating: 
+1
+318
-1
Clone this Snippet

You can import database directly from gzipped file.

gunzip -c dumpfile.sql.gz |  mysql -uusername -ppassword databasename
Category: 
Drupal
Drupal Version: 
678
Drupal Category: 
Database/SQL