System Environment: centos 6.2 (pure system environment, preliminary system optimization)
System kernel: 2.6.32-220. el6.x86 _ 64
Software Version: http-2.4.2; mysql-5.5.23; php-5.3.13
Gossip: Install software through source code and prepare the
Use mysqladmin to change the password of your MySQL database
(Http://bbs.zol.com.cn/index20060604/index_124_10469.html) set password for user @ "%" =
Password ("password ");First, log on:Command mysql-h123.123.123.123-uroot-p123456
Back up
Today, I looked at the manual and tried it. I found that importing and exporting big data is so easy (not very large, with more than 200 MB of text)Note: If a prompt such as MySQL Unknown command '/' is found, set the server character set, for
1. Module Import methodCommon scenarios:A module is a file containing python definitions and declarations, and the filename is the suffix of the module name plus the. Py , and the import module allows for the reuse of the function.Import loaded
First, say the self-executing function1. What is the immediate execution function? Which is the anonymous function.The immediate execution function is
Declaring an anonymous function
Call this anonymous function now
2. Example of
1. Read the value of the Jdbc_url parameter in the configuration file ($InputParamFile the absolute path of the destination file to be read)Jdbc_url= ' grep ' Jdbc_url ' $InputParamFile | Awk-f ' = ' {print $} '2. Modify the value of the
MySQL command line export database: 1, go to the Bin folder in the MySQL directory: cd MySQL to the Bin folder directory as I entered the command line: CD C:\Program files\mysql\mysql Server 4.1\bin ( or add the directory directly to the Windows
Use the following command to install MySQL:sudo apt-get install mysql-serverThe above command installs the following packages:AppArmormysql-client-5.7Mysql-commonMysql-servermysql-server-5.7mysql-server-core-5.7So there is no need to install
Directory
1 Preparatory work
2 Concrete Implementation
1 Preparatory workWhat is Redis?Redis: A high-performance Key-value database. Support data persistence, can save in-memory data on disk, restart can be loaded again to use,
Friends to apply for a free MySQL database space to do the test, this morning to import the database to try, anyway, a few times lead a mistake. Error Tip:
The code is as follows
Copy Code
/*!40101 SET @OLD_CHARACTER_SET_
Have server admin rights modify php.ini file
Look for the following three places in the php.ini configuration file:
Upload_max_filesize, Memory_limit and Post_max_size.
Modify the database file whose value is greater than the import (this
Https://www.cnblogs.com/liuzhen1995/p/9265383.htmlRedis: A high-performance Key-value database. Support data persistence, can save in-memory data on disk, restart can be loaded again to use, provide string, list, set, Zset, hash and other data
MySQL Tutorial database tutorial Backup Import Export data import data export
Import and export of databases and datasheets we use mysqldump to manipulate,Import and export of data we use the load data infile with the load data outfile operation
Mysql Installation
Installation
Yum-y install MySQL mysql-server php-mysql perl-dbd-mysql perl-dbi php-gd php-mbstring
Start
Service mysqld Start
Set Password
mysqladmin-u root password ' set '
Set UTF8 Universal code, add the following two
Now to deal with some data in CSV format, just want to upload the file to the server, then import MySQL, and then do the subsequent processing.Jkd1.7,servlet 3.0 and Tomcat 7.0 are used. Since servlet 3.0 directly supports file uploads, it is good
A Module introduction1. What is a module?#常见的场景: A module is a python file that contains a set of functions, such as spam.py, which is named spam and can be used via import spam. #在python中, the module is used the same way, but in fact, the module
First, the use of the module import1 What is a module?The module is a set of functions of a system, in Python, a py file is a module, such as module.py, where module name modules2 using Modules2.1 Import ModuleThree things happen in the first import
1. Built-in Modules2. Extended For example: Django3. Custom-DefinedFileImport Demodef read (): Print (' My read Func ')Demo.read ()Print (Demo.money)Check to see if it has been imported from Sys.modules first.If not imported, the search module is
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.