Install MySQL on Mac OS X Lion? - mysql

I have downloaded the MySQL community server and extracted the files from the .tar file. But how do I install it? I simply cannot find a easy way to to this, or any method for that matter. Or is it already installed after tar xvf MySQL.tar? And also, when installing the .pkg version, shouldn't it create the files anywhere? Finally, the community server is the one used with django right?
Thanks in advance!

I would suggest using the .dmg version. It's an easier way of installing mysql, it can be a pain http://dev.mysql.com/downloads/mysql/

If you are developing and testing, do you really need to use MySQL? You can use sqlite which is bundled with Python.
As Vezu suggested, the best way to get started with the server is to download the binary installer - the mysql-5.5.24-osx10.6-x86.dmg file.
If you plan to use it with Python, you will also need to install MySQLdb for OSX. For that, see this answer for a link to steps you need to follow.

Related

MySql 5.6 and missing libmemcached.so

After update Mysql 5.5 to 5.6 on debian I want start using memchached. In /usr/lib/mysql/plugin/ i do not see libmemcached.so plugin. How i can install this plugin and use?
It does not come as a part of it. You have to build it.
I suggest you to install/update mysql server using the official repository. This way you will have some tools and plugins (such libmemcached.so) installed. I've done it already doing these simple steps:
Download and install the repo: http://dev.mysql.com/downloads/repo/apt/
Switch from debian to official repository and install mysql server 5.6: http://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/#repo-qg-apt-replacing
You should now have available the libmemcache.so file within the plugins folder and should be able to proceed with the installation of the plugin.

How to install mysql udf in windows WAMP

How to install MySQL udf in WAMP. I am using this https://code.google.com/p/mysql-udf-http/ It have instruction for Linux but not for windows, How do I install it in MySQL in WAMP. I have downloaded this and executed the .sh file but nothing happens. I am trying to install it to call php pages inside mysql.
Have you read this? Install instructions It all seems fairly straight forward as long as you remember your mysql lives under the \wamp\bin\mysql\mysql5.x.y folder and not in the default locations mentioned in the instructions.
If you dont think they are simple enough, what are you having a problem with?

How to add MySql library into Code::Blocks/MinGW

I need to create a C program that requires a MySQL database. For this, I've seen on the web that I need to use a MySQL connector (which I installed in my PC). I run my code with Code::Blocks/mingw and I don't know how to add the mysql libraries to it.
To connect to a MySQL database I need the mysql.h file (I have the file but I don't know where to place it in my computer). Can you guys help me?
If you're using mingw, then from mingw installer you should find the support for MySQL library. If it doesn't appear there, then you can download the MySQL-devel source tarball and then compile and install it with mingw (you need GCC and other software building tools installed). In this way you'll get support of mysqllib support in mingw like GNU/Linux environment.

Can you install mySQL Cluster for free?

Can you install mySQL Cluster for free?
http://dev.mysql.com/downloads/cluster/7.0.html#win32
This will only give you the .zip files. But it doesn't contain the MSI installer. without the installer, how do you even have contents under
C:\ProgramData\MySQL\MySQL Server 7.0\data?
I think you have to pay for the MSI in order to install mySQL Cluster properly right?
I tried to unzip the files, follow the instructions, updated the config files, but never work.
Can someone confirm?
Thanks
A couple of options. If you don't mind having an SSH server running on your Windows machines then you can use the new auto-installer from labs.mysql.com.
An alternative is to follow the instructions from http://downloads.mysql.com/tutorials/cluster/mysql_wp_cluster_quickstart_windows.pdf - basically you just manually copy the data files.
Andrew.

Installing Perl's mysql-dbd module without internet access

I need to be able to read/write to a mysql database using Perl. On all previous servers I have been able to use ppm-shell do download and configure the DBI module for mysql (mysql-dbd I think). However on one particular server, I don't have internet access.
Is there an easy way to get this installed? I'm on Windows 2008 Server by the way. I'm not brilliant at Perl either so if anyone can give some easy to understand instructions I'd really appreciate it
Thanks
Download the module from here http://cpan.uwinnipeg.ca/PPMPackages/10xx/
install via the command line:
ppm install filename.ppd
Get the module. ( this can help: http://win32.perl.org/wiki/index.php?title=PPM_Repositories)
and do: ppm install FILE.ppd