XAMPP Create a Domain name virtual directory (PHP+APACHE+MYSQL)

XAMPP is an environment (PHP+APACHE+MYSQL) software that can quickly create web sites, if there are many projects, Using 127.0.0.1 or localhost access is cumbersome and not easy to remember, you can use the domain name virtual directory to achieve

Beginners PHP and MySQL

I want to use PHP and MySQL, but how do I install and run it? What is the most basic thing I should know in order to make a simplePhp-mysql application work? This is a basic tutorial. No weird code, just a few basics. To put it another way, there

MySQL database installation configuration arrangement in Linux system

MySQL Installation 1, download the MySQL source package through the official website. http://dev.mysql.com/downloads/Click MySQL Community Server, select Source Code, click Generic Linux (architecture independent), compressed download after TAR

MySQL Add new user and modify password method

MySQL tutorial Add new user and modify password method Format: Mysqladmin-u username-P Old password password new password 1, to root add a password ab12. First enter the directory Mysqlbin in DOS, and then type the following command:

Methods and opinions of optimizing the speed of MySQL database

Recommendation I: null value does not necessarily occupy space Here I first give you a literacy. Some database tutorial administrators think that null values do not occupy system resources, in fact, this is a mistaken understanding. They do not

MySQL common command set (1/2)

MySQL Tutorial common command set Create database name; Create a database tutorial Use DatabaseName; Select Database Drop database name deletes databases directly, without alerting Show tables; Show Table Describe TableName; Detailed

MySQL Date-time function collection (1/9)

The following query selects all records and its date_col value is within the last 30 days: MySQL Tutorials > select something from tablewhere To_days (now ())-To_days (Date_col) DayOfWeek (date)Returns the week index of date (1= Sunday, 2 =

MySQL temporary tables and memory tables create query deletion and considerations

MySQL tutorial temporary tables and memory tables create query deletions and considerationsThe temporary table and the engine of the memory table are different, the temporary table defaults to the MyISAM, and the memory table is memory, the

The role of delimiter in MySQL

In fact, tell the MySQL tutorial interpreter, whether the command is over, whether MySQL can be executed.By default, delimiter is a semicolon;. In a command-line client, if a line of commands ends with a semicolon,Then, after the carriage return,

MySQL export Excel files in several ways

MySQL tutorial several ways to export Excel files Method One PHP tutorials with mysql command and shell SELECT * into outfile './bestlovesky.xls ' from Bestlovesky where 1 the ORDER by id DESC limit 0, 50; Method Two Bestlovesky.xls is opened in

Several common Mysql,access,mssql database connection code

Shaoxing 3 kinds of ADODB connection MySQL Tutorial Database tutorial method------------Configuration Database----------------$databank = ' MySQL ';$mydbhost = "localhost"; Configuring the Host$mydbuser = "root"; Database users$MYDBPW = "123456";

Optimization of SQL statements when inserting data in Mysql

1) for tables of the Myisam type, you can import a large amount of data quickly using the following methods. Alter table tblname disable keys;Loading the dataAlter table tblname enable keys;These two commands enable or disable the update of

Usage of the group_concat function in mysql

I. Syntax GROUP_CONCAT ([DISTINCT] expr [, expr...] [order by {unsigned_integer | col_name | expr} [ASC | DESC] [, col_name...] [SEPARATOR str_val]) It can also be simply understood Group_concat ([DISTINCT] field to be connected [Order by asc/DESC

MySQL read/write splitting configuration example using Mycat

EnvironmentMySQL version:Mysql> select version ();+ ---- +| Version () |+ ---- +| 5.6.30-log |+ ---- +1 row in set (0.05 sec)Ensure that the master and slave nodes have been synchronizedSlave_IO_Running: YesSlave_ SQL _Running:

Solution to accidental deletion of mysql table physical files

This method only describes how to save the table name (data is not recovered). If you want to restore the original data, use extundelete to restore the file and put it back.In addition, it is suitable for storing the full-backup frm and idb files

In windows, MYSQL databases are automatically backed up and the backup batch files are automatically cleared.

Save the following code as aaa. bat@ Echo offEcho.Echo MySQL database backupEcho *****************************Echo.Echo today is % date %Echo time is % time %The echo command for deleting folders is rd/s/q d: \ decode.Echo command to delete all

How to use mysql database case statements

Table A: See the following figure.Table B: As shown in the following figure:  To output the order number of status = 6 under master_id, the output result is as follows: The statement adopted at the beginning is: select count (. order_id) from a left

Add a new user to the MySQL database

After MySQL is installed on VPS, the default user is root @ localhost. The simplest way to add a new MySQL User is:Execute the following statement in phpmyadmin (add points at the end of the statement; no ):Grant all privileges on DBNAME. * to

Install the MySQL database offline using the RPM Package in CentOS

I have been using Ubuntu for a long time and used to install it online. In centos, use rmp package to install it first, and record the following steps:1. Check and uninstall MySQL installed on the local machineRpm-qa | grep-I mysqlCheck

Total Pages: 3233 1 .... 1388 1389 1390 1391 1392 .... 3233 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.