
![]() |
perkiset
I do this all the time, yet I'm always scampering around looking for my quick instructions, so here is the quick version for posterity.
Download the source for MySQL from here: http://dev.mysql.com/downloads/mysql/5.0.html The .tar.zip that comes down will create it's own directory, so go where you want your install directory (typically /usr/local/installs) and tar -xzvf mysql-VERSION CD into the newly created directory, then: shell> groupadd mysql shell> useradd -g mysql mysql shell> ./configure --prefix=/usr/local/mysql shell> make shell> make install shell> cp support-files/my-medium.cnf /etc/my.cnf shell> cd /usr/local/mysql shell> bin/mysql_install_db --user=mysql shell> chown -R root . shell> chown -R mysql var shell> chgrp -R mysql . shell> bin/mysqld_safe --user=mysql & <<< Dont forget the ampersand A default install has no password attached to the root user, so you'll want to: shell> bin/mysqladmin -u root password NEWPASSWORD An excellent second step, assuming this is a LAMP rig, is to go get the phpMyAdmin source here:http://www. phpmyadmin.net/home_page/downloads.phpunpack it into a directory, point Apacheat it with something as simple as:<VirtualHost 192.168.1.42:80> |

Thread Categories

![]() |
![]() |
Best of The Cache Home |
![]() |
![]() |
Search The Cache |
- Ajax
- Apache & mod_rewrite
- BlackHat SEO & Web Stuff
- C/++/#, Pascal etc.
- Database Stuff
- General & Non-Technical Discussion
- General programming, learning to code
- Javascript Discussions & Code
- Linux Related
- Mac, iPhone & OS-X Stuff
- Miscellaneous
- MS Windows Related
- PERL & Python Related
- PHP: Questions & Discussion
- PHP: Techniques, Classes & Examples
- Regular Expressions
- Uncategorized Threads