Install MySQL source code and mysql source codeInstall mysql
Create mysqlData Directory
Mkdir-p/usr/local/mysql -- installation directory mkdir-p/usr/local/mysql/data --- data directory
Create mysqlUsers and groups
groupadd mysqluseradd -r -g mysql
To install phpMyAdmin, record the following points:
Install phpMyAdminDecompress the package to/var/www.Configure ApacheListen 8030.DocumentRoot/var/www/phpMyAdmin
Cp config. sample. inc. php config. inc. phpVi config. inc. phpModify the following
Php does not enable the save_mode safe mode setting methodSecurity Configuration 1(1) Enable the php security modeThe security mode of php is a very important embedded security mechanism that can control some php functions, such as system (),At the
Php does not enable the save_mode safe mode setting method, save_mode setting methodSecurity Configuration 1(1) Enable the php security modeThe security mode of php is a very important embedded security mechanism that can control some php functions,
In addition, the vigorous SQL Injection is also widely used in PHP, so to ensure security, PHP code writing is one aspect, and PHP configuration is even more critical.
We manually install php. The default configuration file of php is
Linux: ubuntu 12.04
The configuration of php mysql and apache is completed today.
Mainly source code configuration,
Apache version 2.4.2
Php versions 5.3.11
Mysql versions 5.1.62
I tried it several times a few days ago and there was a software
PHP itself has some problems with the old version, such as some serious bugs before php4.3.10 and php5.0.3, so we recommend that you use the new version. In addition, the vigorous SQL injection is also widely used in PHP, so ensure that
Security,
Install MySQL5.6 in Linux compilation and modify Character Set
Environment preparation:After mysql5.5, The./configure compilation method will be changed to the cmake tool for compilation.Install the dependency package: yum install-y cmake gcc-c ++
On the Linux platform, mysql enables remote logon and linuxmysql
During the development process, I often encounter the problem of remote access to mysql. It is too troublesome to search every time. I will record it here for my convenience.
First,
Linux basic commands and linux basic notes
Today, we are building a Linux production environment. This is a complex task that has to be done. Although I have done it many times, there are still many steps and commands that I don't remember. Every
Zabbix installation ConfigurationIntroduction
Zabbix is a software that monitors various network parameters and server health and integrity. Zabbix uses a flexible notification mechanism that allows you to configure email-based alarms for almost any
Using python to regularly update Mysql Data first describes this requirement: the server has two tables, album_item and album_item_inc. One is the full table, which is generated every morning and the other is the incremental table. Real-time update.
I have been using mariadb for a while. The common commands and syntaxes have not changed. A little more complex, such as replication, does not find any difference in root mysql.However, there are actually some differences today. mariadb's permission
CD/usr/share/MySQL
Mysql-uroot-P prompts you to enter the password
Welcome to the MySQL monitor.
After testing, the first method is successful,
The second method applies to: Ubuntu Java
1 \ authorization method:
Use MySQL;
Grant all
Method One, directly uses phpMyAdmin to modify the user select *.* or enter the IP address in "permission" management.
Method Two, use the MySQL grant command to operate
For example: Allow NewUser users to link to the MySQL server from the ip:192.1
The MARIADB database is divided into source and binary versions, the source version requires CMake compilation, and this is the binary version installation
# tar zxvf mariadb-5.5.31-linux-x86_64.tar.gz # mv
Introduction: This document describes in detail how to create a mail server system based on QMail, Vpopmail, Courier-imap, MySQL, and Horde ' imp.
1. Preamble
Whether you are for the system daemon, a single server or domain name address, or for
MySQL is a real multi-user, multi-threaded SQL database server. MySQL is implemented as a client/server architecture, consisting of a server daemon mysqld and many different client programs and libraries. Because of its open source and stability,
This article describes the process of installing Mitaka Nova in Ubuntu 16.04 under a single point
Step 1:root identity into MySQL, create two databases
CREATE DATABASE Nova_api;
CREATE DATABASE Nova;
Step 2: Still in the database, create a Nova user
DemandInstall the MySQL service on the Raspberry Pi and turn on remote accessSteps to install MySQL server$ sudo apt-get install Mysql-serverI thought the middle will let me prompt input database root password, did not think smooth sailing, direct
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.