Can I execute MySQL-Server with CLion in MacOSX
已回答
Is there any way to execute MySQL-server in CLion?
I imported a project from MySQL-server repository which was cloned from MySQL-server repository in GitHub.
I can build it, but can't execute it.
I got `ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)`, so I added some command options like '--socket /path/to/other/dir/', but it doesn't work.
请先登录再写评论。
Hi Tomoaki! This instruction states that you need to perform "make install" which installs the files under the configured installation directory (by default,
/usr/local/mysql). In CLion you can do it using Build | Install. also it seems that you might need to perform some postinstallation setup: https://dev.mysql.com/doc/refman/8.0/en/postinstallation.html.