I installed PHP, MySQL, and Apache yesterday, but I still reported an error.
It is good to test with test. php. The content of test. php has been installed as follows
An error was reported during the test with test2.php,The content of test.2php
Today, we fixed a small problem encountered in a MySQL database:
Create Table 'erp _ employee '('Id' int (10) unsigned not null auto_increment,'Employee _ name' varchar (32) default null,'User _ id' int (11) default null,'Type' varchar (32) default
If the root password is not set during installation, you can directly press Enter when logging on using the MySQL command line tool.
However, you must set a password when connecting some tools. The simplest method:
Go to the bin directory of the
This system can be used as an independent module in the development process. As the Examination Approaches, there is not much time to complete the details.
CodeAnd war files and usage instructions shared in http://tsyj810883979.download.csdn.net/
When MySQL is used for data query, MySQL returns a result set to us. Next, we need to call the MySQL API to obtain the data from this result set.
After obtaining the data, you need to release the result set.
The MySQL result set is actually a
Today, dgpck@msn.com, a friend of the agileflow project, sent MySQL from agileflowDatabase Table creation script. The table creation test is successful. On behalf of the agileflow project teamDgpck@msn.com expressed gratitude and paid tribute to his
1. Search Method
Full-text index searchType = MyISAM; Fulltext key 'name' (column1, column2) # Find the word "no"
Mysql> select * from T3 where match (name, name2)
-> Against ('won't Do It 'in Boolean mode); # search for any words starting with the
Some netizens asked me how to automatically back up the MySQL database under win2003. Since it is an automatic backup, I must write a script. I thought, this is not very difficult, it is very easy to implement, backup can be implemented using
The now () function returns the current date and time with '@ # YYYY-MM-DD hh: mm: SS #, which can be saved directly to the datetime field.Curdate () returns today's date in 'yyyy-MM-DD 'format and can be saved directly to the date field.Curtime ()
All original articles in this blog use the knowledge sharing signature-non-commercial use-share the same way, reproduced please keep the link http://chaoqun.17348.com/2008/12/mysql-trap-of-group-concat/
Recently, MySQL is used to pre-process some
Database Error encountered today
Got error 28 from storage engine
Check that the disk where the database file is located should be okay. it should be because the temporary directory space for the database is insufficient.The temporary space of
I just graduated from work for a month and joined a small company. I often saw N-long SQL statements while reading the company's code. I couldn't understand them for a long time, but I had little access to databases, I haven't touched it in a few
Address: http://blog.csdn.net/jianxin1009/article/details/8937892
1. Connect to MySQL
Use the installed mysqll command line. By default, the user is the root user. Here, I use the DOS command line to log on.
1. Connect to MySQL on the local
SQL left Outer Join: Understand the left join and then understand the right join
Two-Table Outer Join
Shipping tableCustomer ID, customer name, product ID, product quantity, remarks
Create Table a_prod_out(Custom_id int not null,Custom_name varchar (
Experience: when using the C # and MySQL databases to connect, you must pay attention to the problem of matching the two. Otherwise, the database may not be connected. First, you need to know clearly, and then download the Correct Connection Library
Yesterday, MySQL 5.0.1 Alpha was released, which contains many new features. For details, see changelog.
Download: http://dev.mysql.com/downloads/mysql/5.0.1-snapshot.html
News from the changelog:
Functionality added or changed:* Added support of
Group_concat usage
The rules are as follows:
Group_concat ([distinct] expr [, expr...][Order by {unsigned_integer | col_name | expr}[ASC | DESC] [, col_name...][Separator str_val])Problems with group_concatIf the column to be merged is of the int
Create users and user groups firstSu-RootGroupadd MySQLUseradd-G MySQL decompress the binary file.Tar zxvf mysql-5.0.51a-linux-i686.tar.gzCopy the directory/home/MySQL to/usr/local. Create the MySQL license table:[Root @ localhost root] #
The problem is: There are two tables, one is to record the records of yesterday and the other is to record the records of today.
(1) Newly Added records: There are records today, not yesterday;
(2) reduced records: there are no records today, and
Today, we need to merge 30 MySQL tables for analysis. Each table has the same structure, with a data volume of about 2 million. The data table is in MyISAM format, and the data file size is about 800 mb. When I use insert into... select to merge
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