In Linux, although you can create databases through dbca, you cannot use a graphical environment in some environments, for example, the database server is in the data center and the open ports are limited, you can also create databases in batches.
The MySQL database was installed on the Linux system a few days ago, and the following error message is displayed when you press the MySQL command:
Can't connect to local MySQL server through socket '/var/lib/mysql. sock'
The following error
Prerequisites for creating a MySQL database backup on a Linux host
[1] creating an automatic backup script
Here, in order to make the database backup and recovery meet our actual requirements, use a Shell script to automate the entire backup process.
Troubleshooting ORA-01090: shutdown in progress,ORA-01081 Phenomenon:SQL> shutdown immediateORA-01090: shutdown in progress-connection is not permittedSQL> startupORA-01081: cannot start already-running Oracle-shut it down firstSolution:Oracle>
The new project was launched. It was a hosted call center and analyzed the business processes of competitors. It was probably developed based on asterisk. A while ago, we saw an open-source project asterCRM, some
Call Center and CRM functions, so
1 Overview
The monitoring and management of the Oracle SGA area is an important part of routine database maintenance. This article describes the basic concepts of SGA, the SGA running status check, and the parameter setting principles of SGA.
2
The absence of an index on a foreign key column can cause two problems: Limiting concurrency and affecting performance. Either of these two problems may cause serious performance problems.
Both the official Oracle documents and Tom's books indicate
Oracle is a giant in commercial databases, while Sun owns a world-renowned open-source database MySQL. the future fate of MySQL has aroused concerns in the industry.
MySQL is a database component in the open-source WEB Development Kit LAMP and is
I. DataBase
Save data to present data in the form of tables
Ii. SQL
Structured query language (SQL) is an object used to operate relational databases.
DDL (data definition language) is used to create or Delete tables and modify table
Linux As4 single-instance Oracle system startup/shutdown script
1. Script namingScript Name: oracle. sh deployment Directory:/etc/rc. d/init. d Service list: RedHat service operation User: rootStart oracle command:/etc/init. d/oracle start close
In Linux, view the MySQL storage engine:
Server version: 5.0.45 Source distributionMysql> show engines;+ ------------ + --------- + ---------------------------------------------------------------- +| Engine | Support | Comment |+ ------------ + -----
In Windows and Linux, do not worry about losing the password of mysql. www.Linuxidc.com will teach you the solution! Windows1. End the MySQL process and service first.2.6.2 enter the BINLOG of mysql, input mysqld-nt.exe -- skip-grant-tables, and
1. Shut down the databaseShutdown 2. Use the OS command to copy redo log files to a new location.Mv/u01/app/Oracle/oradata/MYNEWDB/onlinelog/o1_mf_1_89y70t1b _. log/home/o1_mf_1_89y70t1b_test.log 3. Start the database, load only, do not open.CONNECT/
Concurrency and Data Reading
When multiple sessions simultaneously access (operate) the same data, unexpected results may occur, including:
-Dirty read -- Dirty reads-Non-repeatable reads-Phantom read-Phantom reads1. Dirty read refers to when a
I. Using a MySQL database:
1. view the database structure:
View the databases on the current server:
SHOWDATABASES statement: Used to list the databases contained in the current MySQL server. After initialization, the MySQL server creates three
(I) MySQLdb
This is a third-party driver that provides MySQL support for Python.
Complies with the Python db api 2.0 standard
Official Website: http://sourceforge.net/projects/mysql-python/
(Ii) MySQL Connector/Python
It is built on the MySQL
(I) any query is annoying.
As long as the query and MySQL are annoying, the fastest way to execute the query is not to execute
Cache is king, such as Redis or memcache
(Ii) Minimum query result set
Try to query based on the primary key or
Small and Medium databases are characterized by low database concurrency, low database capacity, limited version functions, and N multiple single instances. Even so, there will be zero loss of the database. Enterprises do not want to spend too much
In Oracle databases, you can use the wm_concat (column) function to merge fields. However, this method is not recommended by Oracle because WMSYS is used for Workspace Manager, the function objects may vary with versions, and such changes are
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