[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

install 5.5.16 from source

Posted on 2011-10-12
7
Medium Priority
?
194 Views
Last Modified: 2012-05-12
hi
 there are many article in Google about how to install from source.

so i definitely not looking for any how to documents.

i am after some advise from people who has experience to install mysql from source in a very busy production environment

mainly this will be very busy mysql server 64 gb ram and it will be mainly innodb database .

i used to install with this flag

  ./configure --prefix=/usr/local/mysql --with-ssl --with-plugins=innobase

but is there any extra flag i need to mention to make it perfect for innodb databases ??

thanks for your advise ..


0
Comment
Question by:fosiul01
  • 4
  • 2
7 Comments
 
LVL 24

Expert Comment

by:johanntagle
ID: 36960040
Think you should also add --enable-thread-safe-client (http://dev.mysql.com/doc/refman/5.0/en/source-configuration-options.html#option_configure_enable-thread-safe-client)

Alternatively, you might want to consider a different MySQL build that has enhanced version of InnoDB - http://www.percona.com/software/percona-server/

On either option of course, the tuning after installation is the most critical.  See references below.

References:
http://linuxadminzone.com/compile-mysql-5-1-with-innodb-and-optimize-for-heavy-usage/
http://blog.codesherpas.com/on_the_path/2011/03/tuning-mysql.html
http://www.mysqlperformanceblog.com/2006/09/29/what-to-tune-in-mysql-server-after-installation/
http://vbtechsupport.com/657/ (benchmarking MySQL vs Percona)
0
 
LVL 6

Expert Comment

by:mohansahu
ID: 36961208
Hi,
Install required dependencies to compile MySQL like
$ yum install gcc gcc-c++ ncurses-devel
$ cd mysql-5.1.45
$ ./configure --prefix=/var/lib/mysql  --localstatedir=/var/lib/mysql/data --sysconfdir=/etc/mysql --with-mysqld-user=mysql --with-plugins=innobase,myisam --enable-thread-safe-client
$ make
$ make install

and then change the permissions of mysql directory
$ chown -R /var/lib/mysql:mysql mysql/

MS
0
 
LVL 29

Author Comment

by:fosiul01
ID: 36961452
hi its 5.6 , not 5.1

i just installed 5.6  in test and production

then installation is is quite differ from 5.1
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 29

Author Comment

by:fosiul01
ID: 36961460
Sorry 5.5 , not 5.1
0
 
LVL 6

Accepted Solution

by:
mohansahu earned 1500 total points
ID: 36961634
0
 
LVL 29

Author Comment

by:fosiul01
ID: 36961647
i have already installed it

anyway thanks for your help
0
 
LVL 29

Author Closing Comment

by:fosiul01
ID: 37766405
i instaleld it before hand
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read on. . .
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses
Course of the Month20 days, 12 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question