Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
    
posible duplicate see that -> askubuntu.com/questions/18023/… –  hhlp Dec 30 '10 at 17:10
add comment

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.

1 Answer

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 mysql-test-run.pl' now. Been running successfully for 25 minutes but thought you'd like preliminary answer(s).

Cheers.

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/mysql.info 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
add comment

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