I'm having a problem installing luasql using luarocks. As I understand, I need to do it in command prompt. I already did the necessary preparations:
- I installed lua 5.1 because I need this version.
- I installed luarocks and mysql.
- I also added in the environment variables the location of luarocks.bat.
- I found the location of mysql.h
- I found the location of libmysql.dll
WHen I type the following in command promt:
luarocks install luasql-mysql MYSQL_INCDIR="C:\Program Files\MySQL\MySQL Connector.C 6.1" MYSQL_LIBDIR="C:\Program Files\MySQL\MySQL Connector.C 6.1\lib"
, I have the following error:
The system cannot find the path specified.
What is wrong? Thanks in advance.