- 浏览: 71286 次
- 性别:
- 来自: 北京
最近访客 更多访客>>
文章分类
最新评论
-
guoapeng:
很有同感,我现在正处于人生的十字路口。
自己还是很想做技术,总 ...
程序人生的十字路口 -
xxy_aldrich:
下面我们来修改密码:
登录:如果在my ...
由于mysql对用户严格的授权机制让大家碰到了很多连接不上的问题,我这里的一点总结希望能够帮一点小忙: -
zhouzhichu:
实在谢谢你
主题: Weblogic9.详细配置 -
wxbxjxl:
本文档的叙述非常详细,总体上是比较满意该文献的。但有一点没有写 ...
主题: Weblogic9.详细配置 -
activemq:
是,你写的码??我一样的感想,。。
程序人生的十字路口
linux 下mysql起动的全过程 CSDN Blog推出文章指数概念,文章指数是对Blog文章综合评分后推算出的,综合评分项分别是该文章的点击量,回复次数,被网摘收录数量,文章长度和文章类型;满分100,每月更新一次。
。也不知道对不对。反正是起来了。。。。
[root@localhost ~]# ls
anaconda-ks.cfg install.log.syslog workspace
Desktop mysql-5.0.41-linux-i686-glibc23.tar.gz
install.log scsrun.log
[root@localhost ~]# chmod 755 mysql-5.0.41-linux-i686-glibc23.tar.gz
[root@localhost ~]# tar xfz mysql-5.0.41-linux-i686-glibc23.tar.gz
[root@localhost ~]# groupadd mysql
groupadd:mysql 组已存在
[root@localhost ~]# cd /
[root@localhost /]# cp /usr/local/mysql/support-files/my-medium.cnf /etc/my.cnf
[root@localhost /]# cd /usr/local/mysql
[root@localhost mysql]# ./scripts/mysql_install_db --user=mysql
Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h localhost.localdomain password 'new-password'
See the manual for more instructions.
You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl
Please report any problems with the ./bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
[root@localhost mysql]# chown -R root
chown: “root” 后缺少操作数
请尝试执行“chown --help”来获取更多信息。
[root@localhost mysql]# chown -R root
chown: “root” 后缺少操作数
请尝试执行“chown --help”来获取更多信息。
[root@localhost mysql]# chown -R root .
[root@localhost mysql]# chown -R mysql data
[root@localhost mysql]# chown -R mysql data/.
[root@localhost mysql]# chgrp -R mysql .
[root@localhost mysql]# cd /
[root@localhost /]# /usr/local/mysql/bin/mysqld_safe --user=mysql &
[1] 32416
[root@localhost /]# Starting mysqld daemon with databases from /usr/local/mysql/data
[root@localhost /]# netstat -ant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:59468 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:824 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 :::22 :::* LISTEN
tcp 0 0 ::1:631 :::* LISTEN
[root@localhost /]# mysql
bash: mysql: command not found
[root@localhost /]# mysql
bash: mysql: command not found
[root@localhost /]# netstat -ant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:59468 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:824 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 :::22 :::* LISTEN
tcp 0 0 ::1:631 :::* LISTEN
[root@localhost /]# /usr/local/mysql/bin/mysqladmin -u root password 123+-*/
[root@localhost /]# /usr/local/mysql/bin/mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
[root@localhost /]# /usr/local/mysql/bin/mysql -uroot -p123+-*/
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.0.41-log MySQL Community Server (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> exit
Bye
[root@localhost /]# /usr/local/mysql/bin/mysqladmin shutdown
/usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
[root@localhost /]# /usr/local/mysql/bin/
bash: /usr/local/mysql/bin/: is a directory
[root@localhost /]# cd /usr/local/mysql/bin/
[root@localhost bin]# ysqladmin shutdown
bash: ysqladmin: command not found
[root@localhost bin]# ysqladmin shutdown
bash: ysqladmin: command not found
[root@localhost bin]# mysqladmin shutdown
bash: mysqladmin: command not found
[root@localhost bin]# ./mysqladmin shutdown
./mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
[root@localhost bin]# /usr/local/mysql/bin/mysql -uroot -p123+-*/
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 6
Server version: 5.0.41-log MySQL Community Server (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> mysqladmin shutdown
-> l
-> ;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysqladmin shutdown
l' at line 1
mysql> exit
Bye
[root@localhost bin]# netstat -ant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:59468 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:824 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 :::22 :::* LISTEN
tcp 0 0 ::1:631 :::* LISTEN
[root@localhost bin]# ls
comp_err mysqld_safe ndb_config
make_sharedlib_distribution mysqldump ndb_cpcd
make_win_bin_dist mysqldumpslow ndbd
make_win_src_distribution mysql_explain_log ndb_delete_all
msql2mysql mysql_find_rows ndb_desc
myisamchk mysql_fix_extensions ndb_drop_index
myisam_ftdump mysql_fix_privilege_tables ndb_drop_table
myisamlog mysqlhotcopy ndb_error_reporter
myisampack mysqlimport ndb_mgm
my_print_defaults mysqlmanager ndb_mgmd
mysql mysql_secure_installation ndb_restore
mysqlaccess mysql_setpermission ndb_select_all
mysqlaccess.conf mysqlshow ndb_select_count
mysqladmin mysql_tableinfo ndb_show_tables
mysqlbinlog mysqltest ndb_size.pl
mysqlbug mysqltestmanager ndb_test_platform
mysqlcheck mysqltestmanagerc ndb_waiter
mysql_client_test mysqltestmanager-pwgen perror
mysql_config mysql_tzinfo_to_sql replace
mysql_convert_table_format mysql_upgrade resolveip
mysqld mysql_upgrade_shell resolve_stack_dump
mysqld-debug mysql_waitpid safe_mysqld
mysqld_multi mysql_zap
[root@localhost bin]# ./mysqladmin shutdown
./mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
[root@localhost bin]# ./mysqladmin -uroot -p123+-*/ shutdown
STOPPING server from pid file /usr/local/mysql/data/localhost.localdomain.pid
070602 00:37:47 mysqld ended
[1]+ Done /usr/local/mysql/bin/mysqld_safe --user=mysql (wd: /)
(wd now: /usr/local/mysql/bin)
[root@localhost bin]# netstat -ant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:59468 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:824 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 :::22 :::* LISTEN
tcp 0 0 ::1:631 :::* LISTEN
[root@localhost bin]# netstat -ant
Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1634888
[收藏到我的网摘] [发送Trackback] qq7187057发表于 2007年06月02日 00:42:00
。也不知道对不对。反正是起来了。。。。
[root@localhost ~]# ls
anaconda-ks.cfg install.log.syslog workspace
Desktop mysql-5.0.41-linux-i686-glibc23.tar.gz
install.log scsrun.log
[root@localhost ~]# chmod 755 mysql-5.0.41-linux-i686-glibc23.tar.gz
[root@localhost ~]# tar xfz mysql-5.0.41-linux-i686-glibc23.tar.gz
[root@localhost ~]# groupadd mysql
groupadd:mysql 组已存在
[root@localhost ~]# cd /
[root@localhost /]# cp /usr/local/mysql/support-files/my-medium.cnf /etc/my.cnf
[root@localhost /]# cd /usr/local/mysql
[root@localhost mysql]# ./scripts/mysql_install_db --user=mysql
Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h localhost.localdomain password 'new-password'
See the manual for more instructions.
You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl
Please report any problems with the ./bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
[root@localhost mysql]# chown -R root
chown: “root” 后缺少操作数
请尝试执行“chown --help”来获取更多信息。
[root@localhost mysql]# chown -R root
chown: “root” 后缺少操作数
请尝试执行“chown --help”来获取更多信息。
[root@localhost mysql]# chown -R root .
[root@localhost mysql]# chown -R mysql data
[root@localhost mysql]# chown -R mysql data/.
[root@localhost mysql]# chgrp -R mysql .
[root@localhost mysql]# cd /
[root@localhost /]# /usr/local/mysql/bin/mysqld_safe --user=mysql &
[1] 32416
[root@localhost /]# Starting mysqld daemon with databases from /usr/local/mysql/data
[root@localhost /]# netstat -ant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:59468 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:824 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 :::22 :::* LISTEN
tcp 0 0 ::1:631 :::* LISTEN
[root@localhost /]# mysql
bash: mysql: command not found
[root@localhost /]# mysql
bash: mysql: command not found
[root@localhost /]# netstat -ant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:59468 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:824 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 :::22 :::* LISTEN
tcp 0 0 ::1:631 :::* LISTEN
[root@localhost /]# /usr/local/mysql/bin/mysqladmin -u root password 123+-*/
[root@localhost /]# /usr/local/mysql/bin/mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
[root@localhost /]# /usr/local/mysql/bin/mysql -uroot -p123+-*/
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.0.41-log MySQL Community Server (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> exit
Bye
[root@localhost /]# /usr/local/mysql/bin/mysqladmin shutdown
/usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
[root@localhost /]# /usr/local/mysql/bin/
bash: /usr/local/mysql/bin/: is a directory
[root@localhost /]# cd /usr/local/mysql/bin/
[root@localhost bin]# ysqladmin shutdown
bash: ysqladmin: command not found
[root@localhost bin]# ysqladmin shutdown
bash: ysqladmin: command not found
[root@localhost bin]# mysqladmin shutdown
bash: mysqladmin: command not found
[root@localhost bin]# ./mysqladmin shutdown
./mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
[root@localhost bin]# /usr/local/mysql/bin/mysql -uroot -p123+-*/
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 6
Server version: 5.0.41-log MySQL Community Server (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> mysqladmin shutdown
-> l
-> ;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysqladmin shutdown
l' at line 1
mysql> exit
Bye
[root@localhost bin]# netstat -ant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:59468 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:824 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 :::22 :::* LISTEN
tcp 0 0 ::1:631 :::* LISTEN
[root@localhost bin]# ls
comp_err mysqld_safe ndb_config
make_sharedlib_distribution mysqldump ndb_cpcd
make_win_bin_dist mysqldumpslow ndbd
make_win_src_distribution mysql_explain_log ndb_delete_all
msql2mysql mysql_find_rows ndb_desc
myisamchk mysql_fix_extensions ndb_drop_index
myisam_ftdump mysql_fix_privilege_tables ndb_drop_table
myisamlog mysqlhotcopy ndb_error_reporter
myisampack mysqlimport ndb_mgm
my_print_defaults mysqlmanager ndb_mgmd
mysql mysql_secure_installation ndb_restore
mysqlaccess mysql_setpermission ndb_select_all
mysqlaccess.conf mysqlshow ndb_select_count
mysqladmin mysql_tableinfo ndb_show_tables
mysqlbinlog mysqltest ndb_size.pl
mysqlbug mysqltestmanager ndb_test_platform
mysqlcheck mysqltestmanagerc ndb_waiter
mysql_client_test mysqltestmanager-pwgen perror
mysql_config mysql_tzinfo_to_sql replace
mysql_convert_table_format mysql_upgrade resolveip
mysqld mysql_upgrade_shell resolve_stack_dump
mysqld-debug mysql_waitpid safe_mysqld
mysqld_multi mysql_zap
[root@localhost bin]# ./mysqladmin shutdown
./mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
[root@localhost bin]# ./mysqladmin -uroot -p123+-*/ shutdown
STOPPING server from pid file /usr/local/mysql/data/localhost.localdomain.pid
070602 00:37:47 mysqld ended
[1]+ Done /usr/local/mysql/bin/mysqld_safe --user=mysql (wd: /)
(wd now: /usr/local/mysql/bin)
[root@localhost bin]# netstat -ant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:59468 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:824 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 :::22 :::* LISTEN
tcp 0 0 ::1:631 :::* LISTEN
[root@localhost bin]# netstat -ant
Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1634888
[收藏到我的网摘] [发送Trackback] qq7187057发表于 2007年06月02日 00:42:00
- mqhd.zip (4.4 KB)
- 下载次数: 6
发表评论
-
mysql数据库名和表名的大小写敏感性问题
2007-12-05 17:22 3962mysql数据库名和表名的大小写敏感性问题 在 MySQL ... -
由于mysql对用户严格的授权机制让大家碰到了很多连接不上的问题,我这里的一点总结希望能够帮一点小忙:
2007-12-05 13:47 2949由于mysql对用户严格的授权机制让大家碰到了很多连接不上的问 ... -
作者:不详 文章来源:http://www.javathinker.org/bbs/topic.jsp?db=1
2007-12-04 21:12 1889作者:不详 文章来源:http://www.javat ... -
linux 测试程序..
2007-12-04 18:11 1544# SQL Manager 2005 for MySQL 3. ... -
MySQL安装与配置-2005-07-19
2007-12-04 13:51 1319[原创] [原创]MySQL安装与配置-2005-07-19 ... -
mysql for linux
2007-12-04 13:44 1334Linux 下安装和配置 MySQL 现在有很多网站使用 L ... -
other
2007-12-03 11:46 1224网上关于linux下配置java开发环境的文章很多,但大 ... -
linux
2007-12-01 19:57 828Linux上JDK的安装 选择自 ljcao 的 Bl ... -
每日一贴..
2007-12-01 10:15 990前几天,有些问题,发 ... -
eclipse aptana
2007-11-21 14:00 1071http://dev.csdn.net/article/ ... -
ruby language
2007-09-27 21:36 1003[eiffel 翻译]Matz 关于技术的对话 注: Matz ... -
我们在开发的时候是兵马未动、粮草先行还是摸着石子过河
2007-09-14 14:24 1306兵马未动、粮草先行当然意味着我们在开发的时候先不忙着编写代码做 ... -
我国软件工程发展的现状
2007-09-14 14:15 1928很多国内搞计算机的专 ... -
关于协作与个人英雄主义
2007-09-14 13:52 1189社会进步的一个很明显的现象就是社会分工越来越细,软件的开发也不 ... -
程序员的职业道德
2007-09-14 13:25 1111程序员的职业道德
相关推荐
本文将详细介绍在Red Hat Linux企业版5上安装MySQL的全过程,包括配置文件的设置和遇到的bug处理。 首先,MySQL提供了多个版本供用户选择。社区版本MySQL Community Server是免费的,适合个人和小型项目使用;MySQL...
至此,你已经完成了在Linux环境下编译安装MySQL 5.6.29的全过程。编译安装虽然比使用软件包管理器复杂,但它让你有机会对MySQL进行更深度的定制,适合于有特定需求或者想要学习MySQL内部机制的用户。
本笔记主要针对在Linux环境下安装、配置、管理和优化MySQL的过程进行详解,旨在帮助初学者快速掌握MySQL在Linux系统上的应用。 一、Linux系统环境准备 在Linux上安装MySQL前,需要确保系统已经更新至最新版本,并...
### Linux下MySQL 5.5安装配置全解析 在Linux环境下安装配置MySQL 5.5是一个涉及多个步骤的复杂过程,本文将详细阐述这一过程,包括必要的准备工作、具体步骤以及可能遇到的问题及其解决办法。 #### 一、安装CMake...
以上是Linux环境下MySQL开发的基本知识点,涵盖从安装到使用的全过程。随着对MySQL的深入理解和实践,开发者还可以探索更多高级特性,如分区表、存储过程、触发器、视图等,以及InnoDB引擎的事务处理、外键约束等,...
本文将详细介绍如何在Linux(包括CentOS 6、CentOS 7、RHEL 6和RHEL 7)上安装MySQL的二进制资源包,同时也会提供解决安装过程中可能出现的问题的策略。 首先,我们需要理解Linux发行版的包管理器,如CentOS/RHEL中...
### Linux下源码安装MySQL数据库知识点详解 ...在整个过程中,不仅学习到了如何进行基础的目录与用户管理,还掌握了编译安装MySQL的全过程,这对于深入理解Linux下的软件部署流程有着极大的帮助。
### Linux下MySQL安装步骤详解 #### 一、前言 MySQL 是一款广泛使用的开源关系型...通过以上步骤,您已经完成了在Linux环境下安装和配置MySQL的全过程。在实际应用中,可能还需要根据具体需求进行更详细的配置和优化。
根据提供的文件信息,本文将详细解释如何在Linux环境下安装MySQL,并进行一些基本配置与操作。 ### 安装MySQL #### 方法一:通过包...这些内容涵盖了从安装到日常维护的全过程,是Linux环境下使用MySQL的重要参考。
在Linux环境下进行MySQL数据库编程是一项重要的技能,尤其对于IT专业人士来说。MySQL是一个广泛使用的开源关系型数据库管理系统(RDBMS),它提供了强大的数据存储和管理功能。Linux作为服务器操作系统,与MySQL的...
### Linux 下安装及配置 MySQL 数据库全过程 #### 知识点概述 本文将详细介绍在 Linux 系统下安装和配置 MySQL 数据库的具体步骤,并通过实际操作验证这些步骤的有效性。安装过程中涉及到了用户组和用户的创建、...
- 修改MySQL启动脚本中的`datadir`路径: - 原配置:`#datadir= /var/lib/mysql` - 新配置:`datadir= /home/data/mysql` 4. **移动MySQL数据文件:** - 创建新目录用于存放MySQL数据文件:`mkdir data`。 - ...
以上就是在 Linux 系统中安装 MySQL 的全过程。除了基本的安装和配置外,还可以根据实际需求进行更深入的定制化配置。例如,调整 MySQL 的内存占用、日志记录方式等,这些都是提高 MySQL 性能和服务稳定性的关键步骤...
以下是一份详细的指南,涵盖了从下载到安装,再到配置和验证MySQL数据库服务的全过程。 首先,你需要下载MySQL的Linux安装文件。在本例中,我们需要两个文件:MySQL-server-5.1.7-0.i386.rpm(服务器端)和MySQL-...
本文详细介绍了在 SUSE Linux 系统下手动安装 MySQL 5.0.22 的全过程,包括环境准备、编译安装、配置以及常见问题的解决方案。通过遵循本文提供的步骤,您可以在 Linux 系统上成功安装并配置 MySQL 数据库。需要注意...
### Linux 下安装 MySQL ...以上步骤涵盖了在 Linux 系统上从源码安装 MySQL 5.0.18 的全过程。通过这种方式安装的 MySQL 服务将能够满足大多数场景下的需求,并且可以根据具体的应用环境进行进一步的定制和优化。