View Single Post
  #2  
Old 03-13-2007, 12:06 PM
Chris's Avatar
Chris Chris is offline
Moderator ++
GB Guru
 
Join Date: Jun 2006
Location: Upland, CA
Posts: 128
Default

I believe this is it.
First update yum
Quote:
yum update
then try mysql-server-5.0
Quote:
yum install mysql-server-5.0
if that does not work use
Quote:
yum search mysql-server
thats should give you a list of packages that match mysql-server, mysql 5.0 is what i use.

I do not use CentOS But i have so i know a little. Mysql is the same on all OS's

Quote:
~$ mysql -u root mysql
then
since it will be a new install you will need to do this first.
add password to root account
Quote:
mysql> UPDATE user SET password=PASSWORD('desired_password')
->WHERE User='root';
you should see
Code:
Query OK, 2 rows affected (0.00 sec)
rows matched: 2 Changed: 2 warnings: 0
Then since its new do
Quote:
mysql>DELETE FROM user WHERE user = '';
Code:
mysql>FLUSH PRIVILEGES;
Quote:
mysql>DROP DATABASE test;
Quote:
mysql>exit
__________________
Chris

Blog<-- Read Me
Twitter<-- Follow Me
Facebook<-- Stalk Me



Reply With Quote