MySQL on Linux

我都照着做的      
i have forgotten the password for account 'root',what can i do about it?
Please help me !Thank you !      
[QUOTE]最初由 lhk 发布
[B]i have forgotten the password for account 'root',what can i do about it?
Please help me !Thank you ! [/B][/QUOTE]
#killall mysqld
#safe_mysqld --skip-grant-tables
SET NEW PASSWORD HERE
#mysqladmin flush-privileges      
对我这样的菜鸟是有天大的帮助哦      
小弟初学linux,请问什么地方可以下载mysql
的安装文件!谢谢~~~~~~~~~``      
报错文件内容如下:
040918 15:43:17  mysqld started
040918 15:43:17  Can't start server: Bind on TCP/IP port: Address already in use
040918 15:43:17  Do you already have another mysqld server running on port: 3306 ?
040918 15:43:17  Aborting

040918 15:43:17  /web/mysql/libexec/mysqld: Shutdown Complete

040918 15:43:17  mysqld ended
应该如何解决?      
楼顶不错挺好!~~~~~~~      
mysql 5.0 怎么安装和使用????
那位高手能详细的说一下。。。。
谢谢啦      
我解压所以后,按照这个步骤装完 总提示出错

groupadd mysql
useradd mysql -g mysql -M -s /bin/false
./configure --prefix=/web/mysql
make
make install
scripts/mysql_install_db
cp support-files/my-medium.cnf /etc/my.cnf
cp support-files/mysql.server /etc/init.d/mysqld
chmod 700 /etc/init.d/mysqld
cd /web
chmod 750 mysql -R
chgrp mysql mysql -R
chown mysql mysql/var -R
cd /web/mysql/libexec
cp mysqld mysqld.old
strip mysqld
chkconfig --add mysqld
chkconfig --level 345 mysqld on

service mysqld start

运行后提示

Starting mysqld daemon with databases from /web/mysql/var
/web/mysql/bin/mysqld_safe: line 320: 11035 段错误 $NOHUP_NICENESS $ledir/$MYSQLD $defaults --basedir=$MY_BASEDIR_VERSION --datadir=$DATADIR $USER_OPTION --pid-file=$pid_file --skip-locking >>$err_log 2>&1
050130 22:02:50 mysqld ended

日志文件显示
050130 22:02:50  mysqld started
mysqld got signal 11;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.

key_buffer_size=16777216
read_buffer_size=131072
050130 22:02:50  mysqld ended

050130 22:55:31  mysqld started
InnoDB: Error: auto-extending data file ./ibdata1 is of a different size
InnoDB: 0 pages (rounded down to MB) than specified in the .cnf file:
InnoDB: initial 640 pages, max 0 (relevant if non-zero) pages!
InnoDB: Could not open data files
050130 22:55:32  Can't init databases
050130 22:55:32  Aborting

谁帮我解决,我是红旗4.1桌面版      
为什么能Ping通,各项都设了,也连不上MYSQL服务器