Open ghost opened 12 years ago
up ?
Try node-mysql-libmysqlclient if you are looking for Node.js MySQL driver ;)
Same problem for me. The installer doesn't seem to care about the MYSQL_CONFIG environment variable alone. Perhaps the installation instructions at http://nodejsdb.org/db-mysql/ just need to be clarified. (OS X 10.7) The only way I could install was to set the variable and then navigate to the directory where mysql_config resides and run the installer there without using sudo. The installer completes, but there's nothing in the node_modules directory afterward. I don't fully understand the issue but I can at least confirm it happens to me, too.
The installer completes, but there's nothing in the node_modules directory afterward. I don't fully understand the issue but I can at least confirm it happens to me, too.
It is ok, compiled addon will be in ./build/default/mysql_bindings.node
or in ./build/Release/mysql_bindings.node
depending on your node version. You should require db-mysql.js
to use it or just install it locally for oyur application via npm.
This is happening to me too... which makes it impossible to install now
I had the same error on Ubunutu 12.04, but installing the libmysqlclient-dev fixed. db-mysql now installs
haha awesome arronfrost , it working for me now :)
Hi, I'm currently trying to install db-mysql on my Mac (v10.7.3) and it's not ok ..
Here a log of the error
I've added the following line (export MYSQL_CONFIG=/Applications/MAMP/Library/bin/mysql_config) to my .bash_profile and restart the terminal