Posts

Showing posts from 2016

restart MySQL Server on MacOSX after Sierra Upgrade

Image
After each upgrade of MacOS X, MySQL won't restart, as the upgrade process delete the logging directory of MySQL : If you try to run mysqld_safe manually, you'll get cristal clear error : [10:45] tmanson@busyboxy:/usr/local/mysql/bin$ ./mysqld_safe ./mysqld_safe: line 544: /usr/local/mysql/data/mysqld_safe.pid: Permission denied awk: i/o error occurred while closing /dev/stdout  input record number 3, file  source line number 1 161116 10:46:07 mysqld_safe Logging to '/var/log/mysql/error.log'. touch: /var/log/mysql/error.log: No such file or directory chmod: /var/log/mysql/error.log: No such file or directory 161116 10:46:07 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data ./mysqld_safe: line 129: /var/log/mysql/error.log: No such file or directory ./mysqld_safe: line 166: /var/log/mysql/error.log: No such file or directory touch: /var/log/mysql/error.log: No such file or directory chown: /var/log/mysql/error.log: No such file or direc...

Stellaris and AZERTY Keyboard

Image
Paradox Interactive did a great job with Stellaris Game, as you may read on internet. So I did spent 40€ for the game, and I was unpleasantly surprised that AZERTY Keyboard are not supported... WTF in 2016 !!! In 1995 we had configurable key binding and probably before that... (Can't remember). I've search a bit and couldn't find an Out Of The Box solution, so here is a step by step instruction. Go to the AutoHotkey Homepage. https://autohotkey.com/ Click Download. https://autohotkey.com/download/ahk-install.exe Run akh-install.exe to install AutoHotkey Right click on your desktop, New, "AutoHotkey", name it "Stellaris AZERTY.ahk" Copy paste the script below :  #SingleInstance Force #MaxHotkeysPerInterval 99999 ;start game Run, "steam://rungameid/281990" ;"fix" keys ;#IfWinActive ahk_class stellaris ;#Persistent ;#UseHook z::w w::z a::q q::a Save Right click on the .ahk fi...