WARNING: You’re using the Ruby-based MySQL library that ships with
Rails.
This library is not suited for production. Please install the C-based
MySQL
library instead (gem install mysql).*
Though I have installed mysql using the command(gem install mysql). Can
anyone tell me why it is coming as warning?
WARNING: You’re using the Ruby-based MySQL library that ships with
Rails. This library is not suited for production. Please install the
C-based MySQL library instead (gem install mysql).
Though I have installed mysql using the command(gem install mysql).
Can anyone tell me why it is coming as warning?
Means it isn’t installed properly. On most operating systems, just
doing “gem install mysql” won’t work properly anyway, because you need
sudo privileges to do it. “sudo gem install mysql” should work better.
Also make sure you pick the right version (win-32 if you use windows).
In these cases it’s better to mention your operating system in your
post, now we can only guess what you are using.