If you get this error : Mysql::Error: query: not connected: or one just like it, it’s because you need an older DLL.. Which I just happen to have found, because I needed to fix this problem too!
libmySQL.dll
Enjoy.
If you get this error : Mysql::Error: query: not connected: or one just like it, it’s because you need an older DLL.. Which I just happen to have found, because I needed to fix this problem too!
libmySQL.dll
Enjoy.
Default passwords for MSSQL, Sybase, and mySQL:
, , ,
That’s right.. All three have blank root / sa passwords by default. Talk about secure! That’s the kind of knowledge that can come in handy.
$ sudo apt-get install libmysqlclient15-dev
$ sudo gem install mysql
Easy! But .. gotta know it.
Taken straight from this blog
in a terminal.. First do a ‘locate mysql_config’ and then replace the path in the following command with where that file is.
$ sudo gem install mysql — –with-mysql-config=/usr/local/mysql/bin/mysql_config
Building native extensions. This could take a while…
Successfully installed mysql-2.7
1 gem installed