b/S architecture is very popular now, because the B/s architecture has many advantages, such as: Users need only have a browser to use, maintenance upgrades are more convenient, cross-platform, and so on. This article will talk about how the Windows+
1, login MySQL Database
Mysql-u root-p
View User table
The code is as follows
Copy Code
mysql> use MySQL;Database changedMysql> select Host,user,password from user;+--------------+------+---------------------------------
Access|excel|mysql for some small and even medium-sized companies, still use Access or Excel to record data, not only slow, but also in many people to operate a lot of inconvenience, as the business development, they have to upgrade the system
Installing the DatabaseInstall the database when we need to install three software, the use of the following command, there may be some problems, about the installation of the database, we can surf the internet self-Baiduinstall mysqlyum install
Our Java class recently talked about the database, and the teacher has always stressed the importance of setting up a database environment (JDBC), just before my computer was re-installed, and I could take this opportunity to review the JDBC build.
MySQL just installed only to recognize the host is: localhost and 127.0.0.1, suppose you want to let your on-machine IP can log in normally there are two ways:One is to authorize your IP 172.16.1.10.Grant privileges on dbname.* to "user" @ "172.16.1.
MySQL database has a database named MySQL;Yes, it's a bit of a detour, and it's understandable to read it more than two times.The execution show tables; can be found to have so 28 tables under it;mysql> use MySQL;Database changedMysql> Show tables;+-
MySQL Database multiple optimization scheme1. Hardware optimization ( physical Machine )A,CPU 8~16 CPU , b,mem 96g~128g, three-and- four examples. 32~64g Memory,2 instancesC,the more disk number the better , performance:SSD ( high concurrency ) >
MySQL has just installed the only known host is: localhost and 127.0.0.1, if you want to let your on-machine IP can be logged in a normal way there are two ways:One is to authorize your IP 172.16.1.10.Grant privileges on dbname.* to "user" @ "172.16.
There are tables in the library and there are fields in the table. For example, change the password Operation user table, the operation of the field is passwordThe command does not take effect until the # sign is added.1. What database does the
MysqlCommon Base Operations Command (5.5)First, MySQL startup and shutdown1. The essence of MySQL start and stopThe essence of the launch: Mysqld_salf--default-file=/data/3306/my.cnfThe essence of stopping: mysqladmin uroot-p
1. First stop the mysqld process # killallmysqld does not load grant_tables and enters mysql # mysqld_safe -- skip-grant-tables to enter mysql # using * fromuser; Emptyset (0.00sec) mysqlinsertintouser
1. First stop the mysqld process # killall
Javaweb Learning Summary (38)--transaction one, the concept of business a transaction is a logical set of actions that make up the units of this set of operations, either all succeed or all are unsuccessful.For example: a--b transfer, corresponding
MySQL is a multi-user, multi-thread SQL database server. It can be used for relational databases on various popular operating system platforms. it has a distributed database management system with a client server architecture. MySQL is fully
On a professional Web platform, the user's account and password are often required, that is, the identity confirmation action. The early NCSAhttpd server did not provide this user validation function. the Webmaster can only create an identity
Create a blog for mysql database, apacha server, and php Server
1. install mysql:
Prepare zip: mysql-5.5.33-linux2.6-x86_64.tar.gz
[Root @ www ~] # Groupadd-r mysql
[Root @ www ~] # Useradd-g mysql-r-s/sbin/nologin mysql
[Root @ www ~] # Id
-- Create user CREATEUSER
-- CREATE USER
-- Create a user
Create user 'user1' @ 'localhost' identified by 'pass1 ';
Grant select, INSERT, UPDATE, delete on *. * TO 'user1' @ 'localhost ';
Grant all on *. * TO 'user1' @ 'localhost ';
1. Modify
This article is familiar with Common commands. 1. Start the MySQL server. In fact, the previous article describes how to start MySQL. Two Methods: one is to use winmysqladmin. If the machine runs automatically at startup, you can directly go to the
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.