Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How do I upgrade MySQL to 5.5, am I best off waiting for it to be available through apt-get?

How do i build MySql server? i was hoping for ./configure;make;make install but it doesnt seem to be that easy. Basically i want the default settings (as you would get on the distro or even in windows) and doing this to get a newer version (5.0 to 5.5).

share|improve this question

marked as duplicate by João Pinto, Marco Ceppi Dec 31 '10 at 0:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

posible duplicate see that ->… – hhlp Dec 30 '10 at 17:10

To install:

Remember that the instructions in the MySQL manual assume you are logged in as 'root'. See RootSudo.

Another thing I ran into - before running the 'scripts/mysql_install_db --user=mysql' command you must have installed libaio1.

I just removed and installed manually using MySQL docs. I am running the 'perl' now. Been running successfully for 25 minutes but thought you'd like preliminary answer(s).


share|improve this answer
When i run sudo scripts/mysql_install_db --user=mysql i get 101230 21:07:42 [ERROR] /usr/sbin/mysqld: unknown variable 'lc-messages-dir=/usr/share/mysql/english/..' – acidzombie24 Dec 30 '10 at 21:09
When using 'root' you shouldn't need 'sudo'. In terminal, use 'sudo -i' to to simulate a Root login shell then run the scripts. Worked for me... – Bret Dec 30 '10 at 21:36
I haven't removed it (i was afraid of breaking it) but what docs are you talking about? docs/ doesnt look like an installation guide (I was using less so maybe i didnt scroll far enough to see it). – acidzombie24 Dec 31 '10 at 6:28

Not the answer you're looking for? Browse other questions tagged or ask your own question.