Here we want to talk about two kinds of Excel data into the MySQL Tutorial database tutorial methods, these two methods are relatively simple, is also very convenient, before I put the Excel data into the MySQL database is a PHP tutorial program to
MySQL Modified password Method summary
The first thing to declare is that in most cases, MySQL needs to have root privileges in MySQL, so the general user cannot change the password unless the administrator is requested.
Method One
Using
Mac OS X is built with Apache and PHP, which makes it easy to use. This article takes Mac OS X 10.6.3 as an example. The main contents include:
Start ApacheRunning PHPinstalling MySQLUsing phpMyAdminConfigure PHP's MCrypt extension librarySetting
Method One, modify directly in command mode
1, Myisamchk
To fix the MySQL database, there is also a command: Mysqlcheck
Mysqlcheck-a-c-o-r–all-databases-uroot-p//This command is the best way to optimize all DB databases.
The meaning of the
MySQL server has gone awayThe most common cause of gone away errors for MySQL server has is that the server timed out and closed the connection. By default, if nothing happens, the server closes the connection after 8 hours. You can change the time
mysql|window| problem using phpmyadmin times wrong:
Client does not support authentication protocol requested
by server; Consider upgrading MySQL client
The official statement is
MySQL 4.1 and up uses the authentication protocol based on a
Campus Forum is one of the indispensable parts of campus network. Although the forum based on Asp+access simple, easy to install, but the MySQL database with its short, convenient, fast, free and so on the advantages of many sites are currently the
mysql| Visit |
In MySQL modify password and access restrictions set the details
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
Before I gave a page to show the MySQL record class, but did not give the use of the example, now, I have just written an online auction system framework program to illustrate the use of this class, but also on the online auction implementation
Prompt "Client software cannot connect localhost" when using phpMyAdmin or navicat linked database
The check found that the IPV6 address was listening for Port 3306, and the client software does not support IPV6.
Newly opened system or
There are 2 ways to resolve this problem:
localhost change to%
Go to MySQL Bin directory
The code is as follows
Copy Code
Mysql-u root-pMysql>use MySQL;Mysql>update User Set host = '% ' where user = ' root
Method One,
Using phpMyAdmin, this is the easiest, to modify the MySQL library's user table, but don't forget to use the password function.
Method Two,
Format: Mysqladmin-u username-P Old password password new password
1, to root add a password
The configuration of the PHP environment, for beginners, is absolutely annoying. Always encounter such a problem, go a lot of detours.
So today I specifically wrote this configuration document, I believe that the following steps you will be
Symptoms of damage
A typical symptom of a damaged table is as follows:1. When selecting data from a table, you get the following error: Incorrect key file for table: ' ... '. Try to repair it2. The query cannot find rows in the table or return
Method 1
Using phpMyAdmin, this is the easiest, to modify the MySQL library's user table,
But don't forget to use the password function.
Method 2
Using Mysqladmin, this is a special case of the previous declaration.
Mysqladmin-u
Description: This guide will show you how to use Qmail/vpopmail/courier-imap/qmail-scanner/igenus to build a messaging system.
1. Foreword
This part of the text is translated from Gentoo forums. You can access the above address to view the
Transfer from http://www.blogjava.net/baoyaer/articles/209466.htmlSetup recommendations:For a single running Web server, it is recommended to add:Skip-lockingSkip-name-resolveSkip-networkingUse "LOCALHOST" when you link the database to PHP. This way
Repost: http://apps.hi.baidu.com/share/detail/10406992(1), the reasons for use:Advantages: Maximized Desktop graphical operating system, maintainability is excellent. Based on IIS v6.0/v7.0 (2008), the script that can be supported is quite complete,
installation of PHPBecause PHP is a zip file (not installed version), the installation is relatively simpleUnzip on the line. Rename the extracted php5.2.1-win32 to PHP5. and copy it to the installation disk directory. For example, the installation
The results of the operation are as follows:Login Page loginview.php.Press the login button, jump to the login Processing page loginview.phploginprocess.php, after the database query, login failed, jump back to the login page loginview.php, 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.