![]() ![]() 1) There is a scripted process that will, if setup properly, automatically compile Barnyard2 into an executable. for MySQL database support (Automatically or Manually). On some installations of Cygwin, specifying the host with -h might not be enough. This tutorial gives two option on compiling Barnyard2 on Windows using the Cygwin UNIX emulator. To avoid specifying -h 127.0.0.1 on the command line every time you connect, you can add: Then you can fix it by adding the explicit -h 127.0.0.1 options to the command line, as in: $ mysql -u root -p -h 127.0.0.1 If your attempts to run the MySQL client from Cygwin return the following error: $ mysql -u root -pĮRROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql.sock' (2) Though it's an old question, it would be nice to have the actual answer here, as people (like myself) might still stumble across it. Now which mysql looks like: $ which mysql ![]() So I ran the cygwin Setup.exe searched for "mysql" and installed the latest "mysql client". cygdrive/c/Program Files/MySQL/MySQL Server 5.5/bin/mysql I just came across this, and when I read someone's mention of it being a windows/DOS command that you run in cygwin I did a which mysql and that gave me: $ which mysql
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |