0

I tried to install ruby gems in my windows 8 but i shows some error after someone told to use another way as given below

subst X: "C:\Program Files\MySQL\MySQL Server 5.6\bin" gem install mysql2 --platform=ruby -- --with-mysql-dir=X: --with-mysql-lib=X:\lib\opt subst X: /D

i tried using this ways everthing works but one error that is

mysql.h is missing

now what to do with this error?

1 Answer 1

1

You need to install mysql before installing mysql gem. Follow this link on how to install mysql on windows

Sign up to request clarification or add additional context in comments.

5 Comments

can you give any link for the same installation in Ubuntu ?
sudo apt-get install mysql
Ohh!! so it then install the latest version?
Its actually sudo apt-get install mysql-server. Ubuntu repository has version 5.5. If you want more latest version, you will have to download the package manually.
mysql cant install in port 3306 when i tried to reinstalling my mysql

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.