Here, finally into the core of the CI framework. Since it is a "boot" file, it is the user's request, parameters and so on to do the corresponding guidance, let the user request and data flow according to the correct line position. For example, the
Accelerate Java application development speed 3-unit/integration testing + CI, application development ci
You may be familiar with the following scenarios:
If you have developed an SSH web project, it may be slow to start the server. Some projects
This is the simplest example for beginners to call. Many examples on the Internet are actually not available for beginners.
1. Download the CI framework (find it by yourself)
2. Configuration
Database. php Configuration:Set the connection
1. Download the CI framework (find it yourself)2. Configurationdatabase.php configuration:To set the connection parameter for the database server:SOURCE print?
$db [ ' default '] [ ' hostname '] = "Your-db-host";
$db [ '
Details of the CI framework configuration considerationsIn config, the database.php is related to the database configuration.1 $db[' Default '] =Array(2' DSN ' = ',3' Hostname ' = ' 127.0.0.1,//IP4' Username ' = ' root ',//user name5' Password ' = '
To see how to solve the garbled problem:In MySQL, the default character set is Latin1,If you want to set the character set to Uft-8, you can add the following settings in the My.cnf
ObjectiveCodeIgniter default is not support read, write separation, the general practice of online circulation is modified in the Ci_model layer, but there are several problems:
First use of CodeIgniter users are used after the discovery is
http://blog.csdn.net/martinkro/article/details/53524741 Character set concepts in MySQLThere are two concepts in the MySQL character set, one is "Character set (character set)" and the other is "collations".1.1 CollationsCollations translated into
[Mysql] adds support for emoji and mysql adds emoji1. Introduction
We recommend that you use the utf8mb4 character set in advance for MySQL databases related to wireless connection to avoid problems caused by emoji.
MySQL Server> 5.5.32.
[MySQL]# Set the MySQL client default character set#default-character-set=utf8Default-character-set=gbk[Mysqld]#设置3306端口Port = 3306# set up the MySQL installation directoryBasedir=d:\install\mysql\mysql-5.6.27-winx64# Set up a storage directory for
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.