Reprinted: http://www.cnblogs.com/xiaoluo501395377/archive/2013/04/07/3003278.html
I have modified some mysql commands to start the cloud
To develop j2ee on Linux, you must first build a j2ee development environment, including jdk, tomcat, and
Install Mysql (UsingGenericBinaries)
Mysql is Mysql 5.6.21 and is installed in common Linux. That is, most Linux platforms can install Mysql in this way.
1. Installation Steps
1. installation environment
1) Centos 7.0.1406 X86_64
2. Download Mysql,
CentOS6.5 describes how to install MySQL5.1.71 and centostop
yum install -y MySQL-server mysql mysql-deveservice mysqld start/stop/restart
The following prompt is displayed when the system is started for the first time. Including
How to Set
Install mysql-5.6.12-linux-glibc2.5-x86_64.tar.gz,glibc2.14.tar.gz in Linux
Download mysql-5.6.12-linux-glibc2.5-x86_64.tar.gz from the official website
Create a mysql user
[root@Master home]# useradd mysql[root@Master data]# echo 'mysql'|passwd
Initialize mysql in Windows and mysql in windows
In Linux, after mysql is installed, the service cannot be started directly. You must initialize the database first. Initialization mainly includes:
Initialize required files for logs, tablespaces,
MySQL5.6.19 binary installation method 1. Operating System CentOSrelease6.2 (Final) 2. creating users and groups [root @ mymaster1 ~] # Groupaddmysql [root @ mymaster1 ~] # Useradd-r-gmysqlmysql3. Unzip the installation package (extract to the place
Dark visitor
1. Compile previous conditions
Check whether the following software has been installed. Some of them may not be necessary, but we recommend that you install them all.
Apt-get install autoconf automake autotools-dev cpp curl gawk gcc
Before releasing the Java project, we need to install the following softwareFirst, Windows1, WinSCP (Windows to CentOS upload download)2. PuTTY (Windows access CentOS server)3. Navicat client (connect to CentOS database)Second, Centos1. JDK2. mysql3.
Reference article address: http://www.cnblogs.com/xiaoluo501395377/archive/2013/04/07/3003278.htmlWhen it comes to databases, we mostly think of relational databases, such as MySQL, Oracle, SQL Server, and so on, which are very easy to install on
[Email protected]~]#/usr/local/webserver/mysql/bin/mysql_install_db--basedir=/usr/local/webserver/mysql-- Datadir=/data0/mysql/3306/data--user=mysqlInstalling MySQL system tables ...Error:1 Can ' t create/write to file '/tmp/#sql_2b11_0. MYI '
MYSQL5.6.21 Installation ChapterDo 3 years of operation, personal notes is quite a lot, not well-organized, have to share the spirit, more lazy, the university registered account, but has not written any technical documents, shame. Very agree with a
Linux environment, after the installation of MySQL, you can not start the service directly, you must first initialize the database. The main tasks of initialization include:
Initialization of the log, table space and other databases must
Pre-deployment preparation;Nginx Installation Reference Other blog postsThis article is for mysql+php onlyIptables and SELinux do not configure, turn offSystem CD as Yum source, configure Yum fileGet the source package from the network, the IP
Since March this year, the MySQL official website began to release the relevant 5.6 series of versions, for the mysql5.6 series version of the version of the overall detailed enhanced; personal feeling, the following is the process sharing record of
MySQL to add new users can be done in two ways:
1. By way of the grant statement, we will explain this in the MySQL permissions below, which is simply an example.2. Direct operation of the MySQL authorization form (this method is now basically not
Yum install-y mysql-server MySQL mysql-deve
service mysqld Start/stop/restart
The first time you start, you will be prompted with the following information. which includes
How to set up boot
How to set the root password (null by
When MySQL is installed, there are warning:
[Root@localhost mysql]# scripts/mysql_install_db--user=mysql installing MySQL system tables ... 2015-08-13 14:20:09 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated.
Please
Before compiling MySQL 5.6.x, the minimum number of packages to install are: BISON,GCC, gcc-c++, CMake, Ncurses-devel,
Install these dependent packages, the original extracted from the MySQL source directory deleted, and then extracted again, and
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.