欧普下载是国内较新、较齐、较安全的软件下载基地!
当前位置:首页 ›› 其他软件 ›› 编程相关 ›› mysql for linux下载

mysql for linux v5.7.18 免费版 64位/32位

mysql for linux 64[下载地址]
mysql for linux v5.7.18 免费版 64位/32位

mysql for linux 64是为Linux系统打造的一款免费的数据库管理软件,软件完全开放源码,兼容64位和32位Linux系统,可以帮助用户进行数据库的管理,适用于中小型网站和应用程序开发,需要的朋友可以下载!

mysql for linux v5.7.18 免费版 64位/32位

软件特色

1.使用 C和 C++编写,并使用了多种编译器进行测试,保证了源代码的可移植性。

2.支持 AIX、FreeBSD、HP-UX、Linux、Mac OS、NovellNetware、OpenBSD、OS/2 Wrap、Solaris、Windows等多种操作系统。

3.为多种编程语言提供了 API。这些编程语言包括 C、C++、Python、Java、Perl、PHP、Eiffel、Ruby,.NET和 Tcl 等。

4.支持多线程,充分利用 CPU 资源。

5.优化的 SQL查询算法,有效地提高查询速度。

6.既能够作为一个单独的应用程序应用在客户端服务器网络环境中,也能够作为一个库而嵌入到其他的软件中。

7.提供多语言支持,常见的编码如中文的 GB 2312、BIG5,日文的 Shift_JIS等都可以用作数据表名和数据列名。

8.提供 TCP/IP、ODBC 和 JDBC等多种数据库连接途径。

9.提供用于管理、检查、优化数据库操作的管理工具。

10.支持大型的数据库。可以处理拥有上千万条记录的大型数据库。

11.支持多种存储引擎。

12.MySQL 是开源的,所以你不需要支付额外的费用。

13.MySQL 使用标准的 SQL数据语言形式。

14.MySQL 对 PHP 有很好的支持,PHP是目前最流行的 Web 开发语言。

15.MySQL是可以定制的,采用了 GPL协议,你可以修改源码来开发自己的 MySQL 系统。

16.在线 DDL/更改功能,数据架构支持动态应用程序和开发人员灵活性

17.复制全局事务标识,可支持自我修复式集群

18.复制无崩溃从机,可提高可用性

19.复制多线程从机,可提高性能

20.3倍更快的性能

21.新的优化器

22.原生JSON支持

23.多源复制

mysql for linux安装方法

安装源代码版本的MySQL(mysql-5.1.40-linux-i686-glibc23.tar.gz安装笔记)

1.首先添加mysql用户组

shell> groupadd mysql

2.添加mysql用户,并指定到mysql用户组

shell> useradd -g mysql mysql

3.解压缩mysql-version.tar.gz

shell> gunzip < mysql-VERSION.tar.gz | tar -xvf -

4.安装mysql

shell> cd mysql-VERSION

shell> ./configure --prefix=/usr/local/mysql --with-charset=gbk --with-extra-charsets=armscii8,ascii,big5,cp1250,cp1251,cp1256,cp1257,cp850,cp852,cp866,cp932,dec8,eucjpms,euckr,gb2312,gbk,geostd8,greek,hebrew,hp8,keybcs2,koi8r,koi8u,latin1,latin2,latin5,latin7,macce,macroman,sjis,swe7,tis620,ucs2,ujis,utf8 --with-plugins=innodb_plugin

shell> make

shell> make install

5.复制配置文件

shell> cp support-files/my-medium.cnf /etc/my.cnf

6.执行mysql系统数据库初始化脚本

shell> cd /usr/local/mysql

shell> bin/mysql_install_db --user=mysql

7.设定mysql安装目录权限,设置owner为mysql

shell> chown -R mysql var

shell> chgrp -R mysql .

8.启动mysql应用

shell> /usr/local/mysql/bin/mysqld_safe --user=mysql &

9.设置root密码(数据库的DBA)

shell> bin/mysqladmin -u root password ‘123456’

10.登录mysql

shell> bin/mysql -u root -p

Enter password:

登录成功会看到:

这时mysql已经装好了,可以查看数据库了,但在正式使用数据库开发与部署的时候还需要做一些工作:

1.设定配置文件my.cnf

按照需求copy my-***.cnf到/etc/my.cnf

2.修改默认字符集utf8

(1).[client]下加入default-character-set=utf8

(2).[mysqld]下加入default-character-set=utf8

#不改动存储引擎的话,3、4步可以略过

3.启动InnoDB引擎的方法如下:

1)关闭mysql的服务

2)修改my.ini

将default-storage-engine=INNODB前的注释(#)去掉

将skip-innodb这行注释(加上#)

4.配置innodb参数

1).找到# Uncomment the following if you are using InnoDB tables

去掉innodb_*下的所有#

2).如果安装mysql的目录不是默认的,则需要修改

# mysql 默认安装目录为 /usr/local/mysql/

# mysql 默认表空间目录安装目录为 /usr/local/mysql/var/

innodb_data_home_dir=/usr/local/database/mysql/var/

innodb_log_group_home_dir=/usr/local/database/mysql/var/

3).保存后重启mysql服务。

5.设置系统服务

让linux启动的时候就启动mysql服务

shell> cd /usr/local/mysql/

shell> cp support-files/mysql.server /etc/init.d/mysql

shell> chmod 777 /etc/init.d/mysql

shell> chkconfig --add mysql

shell> chkconfig --level 35 mysql on

6.重启MySQL服务

shell> service mysql restart

备注:

Add a login user and group for ‘mysqld’ to run as:为‘mysqld’增添一个登陆用户和组

shell> groupadd mysql

shell> useradd -g mysql mysql

Configure the release and compile everything:配置和编译

shell> ./configure --prefix=/usr/local/mysql

--prefix后面指示了默认安装路径

shell> make

如果还想知道更详细的configure命令,请查阅manual for configure

If you want to set up an option file, use one of those present in

the ‘support-files’ directory as a template. For example:如果你想安装选项文件,使用当前存在的‘support-files’ 文件夹下的作为模板,例如:

shell> cp support-files/my-medium.cnf /etc/my.cnf

If you haven`t installed MySQL before, you must create the MySQL

grant tables:如果你以前没有安装过MySQL,你必须创建一个MySQL准许的表

shell> bin/mysql_install_db --user=mysql

Change the ownership of program binaries to ‘root’ and ownership

of the data directory to the user that you will run ‘mysqld’ as.

Assuming that you are located in the installation directory

(‘/usr/local/mysql’), the commands look like this:将程序的所有权限给‘root’ ,并且把数据目录的所有权给可以运行‘mysqld’的用户。假设MySQL的安装目录是(‘/usr/local/mysql’),命令如下所示:

shell> chown -R mysql var

shell> chgrp -R mysql .

The first command changes the owner attribute of the files to the ‘root’ user. 第一行命令把文件拥有权给‘root’。The second changes the owner attribute of the data directory to the ‘mysql’ user. 第二行把数据目录拥护权给‘mysql’用户。The third changes the group attribute to the ‘mysql’ group.第三行把组的权限给‘mysql’组。

After everything has been installed, you should initialize and test your distribution using this command:万事具备后,你就可以按照下面的命令测试并运行你的MySQL了:

shell> /usr/local/mysql/bin/mysqld_safe --user=mysql &

注意:文件中的单引号全应该是英文状态下输入的,这里小编为了美观改成中文状态下输入的单引号了。

mysql for linux配置方法

1.设定配置文件my.cnf

按照需求copy my-***.cnf到/etc/my.cnf

2.修改默认字符集utf8

(1).[client]下加入default-character-set=utf8

(2).[mysqld]下加入default-character-set=utf8

#不改动存储引擎的话,3、4步可以略过

3.启动InnoDB引擎的方法如下:

1)关闭mysql的服务

2)修改my.ini

将default-storage-engine=INNODB前的注释(#)去掉

将skip-innodb这行注释(加上#)

4.配置innodb参数

1).找到# Uncomment the following if you are using InnoDB tables

去掉innodb_*下的所有#

2).如果安装mysql的目录不是默认的,则需要修改

# mysql 默认安装目录为 /usr/local/mysql/

# mysql 默认表空间目录安装目录为 /usr/local/mysql/var/

innodb_data_home_dir=/usr/local/database/mysql/var/

innodb_log_group_home_dir=/usr/local/database/mysql/var/

3).保存后重启mysql服务。

5.设置系统服务

让linux启动的时候就启动mysql服务

shell> cd /usr/local/mysql/

shell> cp support-files/mysql.server /etc/init.d/mysql

shell> chmod 777 /etc/init.d/mysql

shell> chkconfig --add mysql

shell> chkconfig --level 35 mysql on

6.重启MySQL服务

shell> service mysql restart

备注:

Add a login user and group for ‘mysqld’ to run as:为‘mysqld’增添一个登陆用户和组

shell> groupadd mysql

shell> useradd -g mysql mysql

Configure the release and compile everything:配置和编译

shell> ./configure --prefix=/usr/local/mysql

--prefix后面指示了默认安装路径

shell> make

如果还想知道更详细的configure命令,请查阅manual for configure

If you want to set up an option file, use one of those present in

the ‘support-files’ directory as a template. For example:如果你想安装选项文件,使用当前存在的‘support-files’ 文件夹下的作为模板,例如:

shell> cp support-files/my-medium.cnf /etc/my.cnf

If you haven`t installed MySQL before, you must create the MySQL

grant tables:如果你以前没有安装过MySQL,你必须创建一个MySQL准许的表

shell> bin/mysql_install_db --user=mysql

Change the ownership of program binaries to ‘root’ and ownership

of the data directory to the user that you will run ‘mysqld’ as.

Assuming that you are located in the installation directory

(‘/usr/local/mysql’), the commands look like this:将程序的所有权限给‘root’ ,并且把数据目录的所有权给可以运行‘mysqld’的用户。假设MySQL的安装目录是(‘/usr/local/mysql’),命令如下所示:

shell> chown -R mysql var

shell> chgrp -R mysql .

The first command changes the owner attribute of the files to the ‘root’ user. 第一行命令把文件拥有权给‘root’。The second changes the owner attribute of the data directory to the ‘mysql’ user. 第二行把数据目录拥护权给‘mysql’用户。The third changes the group attribute to the ‘mysql’ group.第三行把组的权限给‘mysql’组。

After everything has been installed, you should initialize and test your distribution using this command:万事具备后,你就可以按照下面的命令测试并运行你的MySQL了:

shell> /usr/local/mysql/bin/mysqld_safe --user=mysql &

下载mysql for linux v5.7.18 免费版 64位/32位
本地下载地址:
本地电信下载
本地电信下载
本地联通下载
本地联通下载
本地迅雷下载
本地迅雷下载
移动用户下载
移动用户下载

版权声明:本站提的序列号、注册码、注册机、补丁等均来自互联网,仅供学习交流之用,请在下载后24小时内删除。

猜您喜欢
相关文章
软件评论
请自觉遵守互联网相关政策法规,评论内容只代表网友观点,与本站立场无关!
    登录   注册