Next, I will take FTP on a machine numbered 46 in the LAN as an example to illustrate the specific operation process of port ing. Of course, the ftp on machine 46 must be installed in advance.
Step 1: Download "port Er" on the host and click
1. Modify the engine
MySQL uses MyISAM by default and does not support transactions. InnoDB must be used to support transactions. You need to modify the configuration file to restart:
VI/etc/MySQL/My. CNF
Add the following content under [mysqld:
MySQL user Creation Method Command method. Note that each line is followed by one; indicates that a command statement ends.Format: grant select on database. * To username @ login host identified by "password"
Example 1: Add a user named "test1"
Shell> MySQL -- user = root-PEnter PasswordMysql> use MySQLMysql> grant select, insert, update, delete on [db_name]. * to [username] @ [ipadd] identified by '[Password]';
[Username]: Remote Login UserCode[Db_name]: indicates the name of the
MySQL executes External SQL
If there is an external SQL file named "mydb. SQL"; to create a table, assume that the database is "mydb ";
1. MySQL is not logged on:
Mysql-uroot-p1234
2. MySQL is logged on:
Source/root/desktop/ABC. SQL; //
Data synchronization between multiple MySQL servers
/*** @ Date 2010.09.13* @ Author Wolf* @ Email 1317983530@qq.com* @ Qq 1317983530* @ Blog http://hi.baidu.com/1317983530/home*/Mysql Data Synchronization is being performed these two
Importing and exporting data in a database is the simplest and most necessary function.
For example, when the system is under development on a personal PC, the database has a lot of initialization data. After the system development is complete, you
Using system; using system. collections. generic; using system. LINQ; using system. text; using system. data; using MySQL. data. mysqlclient; using system. io; namespace comback {class serverdatabase {mysqlconnection conn; string connstring =
This function creates two JavaBean components and a JSP page display page. The first is to process the an connected to the database, and the first Javabean is the code used to process the results of the paging query, the third JSP is to call the
Installation, optimization, and security settings of MySQL 5.0.x in centos
Groupadd MySQLCreate a user group named MySQLUseradd-G MySQLCreate a user named MySQL under the MySQL user groupGunzip | mysql-VERSION.tar.gz | tar-xvf-Decompress
1. Check the machine configuration. The three main parts are CPU, memory, and hard disk.2. Check MySQL configuration parameters.3. Check the MySQL row status. You can use the mysqlreport tool to view the status.4. View MySQL slow queriesAfter
1. Create a user:
Command: create user 'username' @ 'host' identified by 'Password ';
Description: username-the username you will create, host-specifies the host on which the user can log on. If a local user can use localhost, if you want to allow
When mysql-front is used, it is displayed that the application will run in restricted mode when the application registration time expires.You can click "register" under the "help" menu --> copy the following key and try it later. Note: The whole 10
MySQL error number 2003
Can't connect to MySQL Server XXX. XXX (10061)
MySQL is installed by default in Ubuntu 9.04, which can only be accessed locally by default. Google:
Use
Log on to the MySQL server and run the command in the MySQL database.
Rights and privileges
Privilege
Description
All
All privileges tGrant Option
Alter
UseALTER TABLE
Alter routine
UseAlter procedureAndDrop procedure
Create
UseCreate Table
(Note: I use javascat4.1 + mysql4.1 + mysql_connector_java_3.1.12)
I have found at least three methods on the Internet for MySQL JDBC configuration, which are summarized as follows:
Method 1: use the database connection pool. The method is to modify
First, we need to install mysql. The installation in Ubuntu is very simple. You just need to run the following command to install the MySQL server:
Sudo apt-Get install mysql-Server
After installing and playing with the MySQL server, we need to
1. After the service is installed and started, MySQL commands cannot be identified under the command line.Solution: MySQL is installed in/usr/local/MySQL/bin/MySQL by default, the solution is to enter/usr/local/MySQL/bin/MySQL-u root-P in the
Today, I encountered a problem about deleting a foreign key column. I found that:
show create table userfans;
| userfans | CREATE TABLE `userfans` ( `id` int(11) NOT NULL AUTO_INCREMENT, `status` int(11) DEFAULT NULL, `update_time` datetime
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service