Build LAMP (Linux + Apache + Mysql + PHP) on the RedHatLinux9 platform-Linux Enterprise Application-Linux server application information. For more information, see the following. Build LAMP on RedHatLinux9 Platform
(Linux + Apache + Mysql + PHP)
I.
As an open-source database, MySQL is an important application in Linux. It is a good platform for beginners. However, the installation on Linux is not as simple as the online tutorial. Unless you have installed all Linux packages on your computer,
Mysql Installation
Installation
Yum-y install MySQL mysql-server php-mysql perl-dbd-mysql perl-dbi php-gd php-mbstring
Start
Service mysqld Start
Set Password
mysqladmin-u root password ' set '
Set UTF8 Universal code, add the following two
Practical Extraction and Report Language
Perl was originally designed by Larry Wall in December 18, 1987. Perl uses the features of C, sed, awk, shell scripting, and many other programming languages.
Perl is generally called the Practical
Temporary failure in name resolution, failureresolutionRecently, When I installed perl-DBD-MySQL using yum, I encountered Temporary failure in name resolution and Trying other mirror. That is, the name resolution fails. Try to use another image. The
The MySQL Benchmark test Suite Benchmark is used to install the DBI component. Today, we plan to use the MySQL Benchmark Suite to test the insertion performance. The result is incorrect:
The code is as follows:# Explain the environment[Root @
Today we're going to test the insertion performance with MySQL's own benchmark Suite (Benchmark Suite), resulting in an error:
Copy Code code as follows:
# Let's just tell the environment
[ROOT@BEANVM ~]# Cat/etc/redhat-release
The recent MHA authentication encountered Dbd::mysql::d r::imp_data_size unexpectedly this error. The DBD package is already installed. The following is a description of the problem and a solution.1. Fault description# MASTERHA_CHECK_REPL--CONF=/ETC/
1 General Error Yum installation method:
In the previous article described in the CentOS 6.5 system in the Yum way to quickly build the LNMP environment, then can also be in the CentOS 7 or CentOS 7.1 system in accordance with gourd painting ladle
Mysqlhotcopy usage
You need to install PERL-DBI and Dbd-mysql before using mysqlhotcopy:
1, the implementation of Yum install PERL-DBI installation perl-dbi.2, installation Dbd-mysql Please refer to the bottom material
A common example of backup:
Compare with mysqldump:
1, the former is a fast file in the sense of copy, the latter is a database-side SQL statement collection.2, the former can only run in the database directory on the machine, the latter may be used in remote clients, but the
Linuxcaicai's Common commands-general Linux technology-Linux technology and application information. For more information, see the following. Linux caicai
Command to view the linux version
# Uname-
# Cat/proc/version
# Cat/etc/issue
# Cat // display
RedHat. Enterprise. Linux.5.Update. 1 VSFTP + MYSQL fail-Linux Enterprise Application-Linux server application information. For details, see the following. First, describe the environment:
OS: RedHat. Enterprise. Linux.5.Update. 1
During
ByGeorgesTarbouriechWhataboutthisnicepair? MySQL is a relational database system (RDBMS). its homepage is www.mysql.com. It is released by GNUGPL for free. please read the copyright notice. It can work on many platforms, both as a server and a
In Linux, MySQL installation and backup and related password recovery still account for the majority of applications. If you are curious about this technology, the following articles will unveil its mysteries. I hope it will help you in this regard.
The following articles mainly introduce the MySQL database entry series, that is, the actual steps for obtaining and installing the MySQL software correctly, the following appendix describes how to obtain and install the software required to run
Mysql Installation
The 2nd Redhat 9 discs provide Mysql RPM packages for easy installation. This RPM package has: mysql-3.23.54a-11.i386.rpm
Mysql-server-3.23.54a-11.i386.rpm
Mysql-devel-3.23.54a-11.i386.rpm
During installation, you can use this
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.