%~p1 : Path only
%~p1=\Users\skYjennr\AppData\Local\
%~n1 : file Name without file extension
%~n1=CrashDumps
%~x1 : file eXtension only
%~x1=
%~s1 : Short 8.3 name
%~s1=C:\Users\skYjennr\AppData\Local\CRASHD~1
%~1 : removing any surrounding quotes (“)
%~1=C:\Users\skYjennr\AppData\Local\CrashDumps
%~a1 : Display the file attributes of %1
%~a1=d—-c—–
%~t1 : Display the date/time of %1
%~t1=2021/07/01 15:59
%~z1 : Display the file size of %1
%~z1=0
%~$PATH:1 : Search the PATH environment variable and expand %1 to the fully qualified name of the first match found
%~$PATH:1=C:\Users\skYjennr\AppData\Local\CrashDumps
%~p1 : Path only
%~p1=\local\msys2\home\skYjennr\gitdev\bat\src\
%~n1 : file Name without file extension
%~n1=notepad
%~x1 : file eXtension only
%~x1=.exe
%~s1 : Short 8.3 name
%~s1=C:\local\msys2\home\skYjennr\gitdev\bat\src\notepad.exe
%~1 : removing any surrounding quotes (“)
%~1=notepad.exe
%~a1 : Display the file attributes of %1
%~a1=
%~t1 : Display the date/time of %1
%~t1=
%~z1 : Display the file size of %1
%~z1=
%~$PATH:1 : Search the PATH environment variable and expand %1 to the fully qualified name of the first match found
%~$PATH:1=C:\Windows\System32\notepad.exe
つぎにデフォルトのデータディレクトリ/var/lib/mysqlをシンボリックリンクにする。
$ cd /var/lib
$ sudo ln -s /theData/mysql mysql
起動
$ sudo service mysql start
Job for mysql.service failed because the control process exited with error code.
See “systemctl status mysql.service” and “journalctl -xe” for details.
$
apparmorがアクセスを拒否しているようなので設定を追加