Procedure for using navicat to remotely access MySQL
1. Modify remote access permissions
// Enter the MySQL server or use other tools
XXXX @ Ubuntu:/$ mysql-H localhost-u root-P xxxx
// Grant data access permissions to any host
Mysql> grant
The previous blog was banned by Sina and will be written here later.
Today, MySQL in a test environment suddenly crashes. In fact, MySQL is dead, but PS can still be seen. The MySQL version is 5.0.38.
Output the following information in the
Su1. Install SSH (required)
Sudo apt-Get Install SSH
2. Install MySQL (although the latest version is 5.1, only MySQL 5.0 can be installed)
Sudo apt-Get install mysql-server-5.0
3. install Apache
Sudo apt-Get install apache2
4. install
What is the storage engine?
Data in MySQL is stored in files (or memory) using different technologies. Each of these technologies uses different storage mechanisms, indexing techniques, locking levels, and ultimately provides a wide range of
1. Open the backed up SQL text in notepad to ensure that the data in the file is properly displayed. 2. view the storage format of this text, typically ANSI (Chinese generally GBK or gb2312) and UTF-8.3. if the file storage format is ANSI, add the
I remember using navicat as the mysql client in windows and remotely connecting to MySQL on the server. in Linux, I checked it, navicat also has a Linux version, so I'm so happy ....
Installation:1. Official download:
Primary Key Create Table Feng (
Teamno int not null, playerno int not null, Division char (6) Not null,
Primary Key (teamno) )
Create Table Feng ( Teamno int not null
Primary Key , Playerno int not null, Division char (6) Not null,) composite
I. Summary:
1. commands for starting MySql in Linux:Mysqladmin start/ECT/init. d/MySQL start (the installation path of MySQL is earlier)
2. Command for restarting MySql in Linux:Mysqladmin restart/ECT/init. d/MySQL restart (the installation path
File Transfer tool usage
To speed upLinuxSystem learning should be put in place first, and the knowledge points used should be checked. Here we wantLinuxInstall a Service Trainer firstMySQLTry the database.
because I use Linux , and the
A script that was written when FreeBSD 8.0 web server environment was installed a few days ago has passed the test in FreeBSD 8.0, but it is not a one-click installation. You can copy and paste the script for manual operation. This reduces the time
MySQL memory table usage
Memory tables use Hash hash indexes to store data in the memory. Therefore, it is extremely fast and suitable for caching Small and Medium databases. However, the usage is limited. The following are some of the feelings
Install, uninstall MySQL service install MySQL service create and edit a BAT file, execute it (E: \ mysql \ bin \ mysqld-nt.exe is the installation directory, fill in according to the actual situation) @ echo off E: \ mysql \ bin \
First, start and stop the MySQL Service
Net stop MySQL
Net start MySQL
Second, log on to MySQL
Syntax: mysql-u user name-P User Password
Enter the mysql-uroot-p command, press enter and prompt you to enter the password, enter 12345, and
Introduction: This is a detailed page for installing MySQL In ubuntu. It introduces the knowledge, skills, and experience related to installing MySql in PHP, MySQL, PHP, Apache, and ubuntu, and some PHP source code.
Class = 'pingjiaf' frameborder =
JDBC is a standard solution for accessing the database system using Java. It treats different APIs of different databases separately from standard SQL statements to implement database-independent Java operation interfaces. For developers, using the
How to Learn the extended option of MySQL explain statement
MySQL has an explain command that can be used to analyze the running effect of the SELECT statement. For example, explain can obtain the SELECT statement.Indexes used, sorting, and
Select *, if (SVA = 1, "male", "female") as ssva from tableame where id = 1Quote control flow Functions
Case value when [compare-value] Then result [when [compare-value] Then result...] [else result] end case when [condition] Then result [when
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