- Enter to MySQL/MariaDB server command-line tool (change root with your username and password):
mysql -u root -proot
- Set the general log file path:
SET GLOBAL general_log_file='/var/log/mysql/mycustom.log';
#!/usr/bin/python3 | |
# By Steve Hanov, 2011. Released to the public domain. | |
# Please see http://stevehanov.ca/blog/index.php?id=115 for the accompanying article. | |
# | |
# Based on Daciuk, Jan, et al. "Incremental construction of minimal acyclic finite-state automata." | |
# Computational linguistics 26.1 (2000): 3-16. | |
# | |
# Updated 2014 to use DAWG as a mapping; see | |
# Kowaltowski, T.; CL. Lucchesi (1993), "Applications of finite automata representing large vocabularies", | |
# Software-Practice and Experience 1993 |
#!/usr/bin/groovy | |
//http://www.subtitulos.es/ajax_loadShow.php?show=1493&season=1 | |
def shows = [ | |
[id:1493, season:1, directory:"/media/data/Arrow"], | |
[id:382, season:4, directory:"/media/data/Modern.Family"] | |
] | |