Page 1 of 1

Mysql "library" and "include" folders missing

PostPosted: 26. June 2011 19:39
by Haros
Hey,

I noticed that xampp's mysql "library" and "include" folders are missing. I believe than in previous versions they were installed too.
Is there any way I can add them? I need them in order to install rails with xampp...

Thanks.

Re: Mysql "library" and "include" folders missing

PostPosted: 26. June 2011 23:13
by JonB
I have to say that MySQL 5.5 is pretty new to me, BUT - its a whole new game. First, InnoDB is now the default DB Engine not MyISAM.

They have substantially how things work both externally and internally. The fact those folders don't exist is indicative of that. Read this next link and read the part about plugins

http://dev.mysql.com/doc/refman/5.5/en/ ... eries.html

This section contains info about 'dropped features' - think syntax and function -
http://dev.mysql.com/doc/refman/5.5/en/ ... shell.html

for instance this removed syntax:
- The table_type system variable (use storage_engine).

This will break code (ask Joomla)

So the answer is - you need to find out if rails is going to work without modification on MySQL 5.5.
http://rubyonrails.org/

If the answer is yes, you will probably only need to manually add the folders, and likely also need the right information added to your my.ini file

This should also be relevant:
http://stackoverflow.com/questions/1972 ... indows-pip

If you want, you can always DL the 1.7.3 version of XAMPP from the Source Forge Archives. It contains the mysql\lib and mysql\include folders as installed.

http://sourceforge.net/projects/xampp/files/

Good Luck with your project.
8)

Re: Mysql "library" and "include" folders missing

PostPosted: 26. June 2011 23:14
by JonB
I have to say that MySQL 5.5 is pretty new to me, BUT - its a whole new game. First, InnoDB is now the default DB Engine not MyISAM.

They have substantially how things work both externally and internally. The fact those folders don't exist is indicative of that. Read this next link and read the part about plugins

http://dev.mysql.com/doc/refman/5.5/en/ ... eries.html

This section contains info about 'dropped features' - think syntax and function -
http://dev.mysql.com/doc/refman/5.5/en/ ... shell.html

for instance this removed syntax:
- The table_type system variable (use storage_engine).

This will break code (ask Joomla)

So the answer is - you need to find out if ROR is going to work without modification on MySQL 5.5.
http://rubyonrails.org/

If the answer is yes, you will probably only need to manually add the folders, and likely also need the right information added to your my.ini file

This should also be relevant:
http://stackoverflow.com/questions/1972 ... indows-pip

If you want, you can always DL the 1.7.3 version of XAMPP from the Source Forge Archives. It contains the mysql\lib and mysql\include folders as installed.

http://sourceforge.net/projects/xampp/files/

Good Luck with your project.
8)

Re: Mysql "library" and "include" folders missing

PostPosted: 27. June 2011 00:36
by Sharley
Haros wrote:I noticed that xampp's mysql "library" and "include" folders are missing.
They are not missing but can be found in the \xampp\mysql\mysql-test folder.

The README files in this folder are useful.

Re: Mysql "library" and "include" folders missing

PostPosted: 27. June 2011 01:13
by Haros
Thanks for all your help guys.

I have seen the mysql-test folder which contains "lib" and "include" but inside lib I cannot find the "opt" folder...

If I can't install it with mysql 5.5 I will follow your advice JonB and I will install the 1.7.3 version of xampp.

Any other help is welcome.

Re: Mysql "library" and "include" folders missing

PostPosted: 27. June 2011 14:31
by Haros
An update for anyone coming across this thread.

I downloaded from the mysql website the C mysql connector files (the zip archive)
and mysql2 gem for rails was installed like a charm using xampp's mysql installation.

Thanks for the replies guys.