MySQL数据库及其ODBC接口的介绍(1) (转载)
mysql|odbc|数据|数据库
发信人: engineer (剑胆琴心~还是得走,sigh...), 信区: Linux
标 题: MySQL数据库及其ODBC接口的介绍(1) (转载)
发信站: BBS 水木清华站 (Mon Aug 9 18:03:16 1999)
【 以下文字转载自 Database 讨论区 】
【 原文由 engineer 所发表 】
MySQL数据库及其ODBC接口的介绍
engineer 1999.8.8
第一部分 MySQL
一.MySQL简介
MySQL是基于SQL语言的数据库,在世界上深受欢迎.MySQL的主要目标
是速度和鲁棒性.MySQL的基础是一套在高要求的产品环境下运行多年的
例程.MySQL现在还在不断地发展.
二.MySQL的主要特点
1.完全多线程,适于多CPU使用.
2.提供C,C++,JAVA(JDBC),Perl,Python,PHP and TCL 的API接口. @_@
3.多平台,包括Solaris,SunOS,,BSDI,SGI IRIX,AIX,DEC UNIX,Linux,FreeBSD,
SCO OpenServer,NetBSD,OpenBSD,HPUX,Win9x and NT.(各平台支持的功能不尽
相同). ^_^
4.数据类型多样,包括 有/无符号1,2,3,4,8字节integers,FLOAT,DOUBLE,CHAR,
VARCHAR,TEXT,BLOB,DATE,DATETIME,YEAR,SET,ENUM. *_~
5.非常灵活和安全的权限系统,密码加密. //grin
6.为Win95提供ODBC接口,可通过Access与之相联.另有第三方开发商提供多样的
ODBC驱动程序. //sigh
7.可处理大型数据(超过 5千万个记录),表大小限于OS的文件大小:Linux为2G,
Solaris 2.5.1为4G,Solaris 2.6为1000G. //faint
8.经权威商业内存泄露软件检测无内存泄露. ?!
9.完全支持ISO8859_1(Latin1) 标准. //think
10.多种语言支持(无中文). :-(
三.MySQL安装.
由于网络上MySQL的版本不是很多,目前最多的是3.21.32a版本.就以此为例说明.
其他版本的MySQL可能在配置方法上略有区别.
1.从 ftp://166.111.68.178/linux/database/下或者其他网站获取
mysql-3.21.32a-rh50.1.i386.rpm
2.以root身份执行 rpm -ivh mysql-3.21.32a-rh50.1.i386.rpm
即可,缺省安装在/下的bin,lib,share,数据库保存于/var/lib/mysql目录下.
可用 rpm -q mysql -l 查询.
下面可以启动MySQL了.
四.MySQL应用程序
mysql SQL 解释 shell
mysqlshow 数据库结构查询
mysqlaccess 用户权限查询
mysqladmin 超级用户管理工具
mysqldump dump工具
isamchk 检查,优化,修补数据工具
mysqlimport 从txt文件输入数据库
mysql_install_db 系统数据库安装脚本
mysqld 守护进程
safe_mysqld 启动脚本

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics





The main role of MySQL in web applications is to store and manage data. 1.MySQL efficiently processes user information, product catalogs, transaction records and other data. 2. Through SQL query, developers can extract information from the database to generate dynamic content. 3.MySQL works based on the client-server model to ensure acceptable query speed.

Laravel is a PHP framework for easy building of web applications. It provides a range of powerful features including: Installation: Install the Laravel CLI globally with Composer and create applications in the project directory. Routing: Define the relationship between the URL and the handler in routes/web.php. View: Create a view in resources/views to render the application's interface. Database Integration: Provides out-of-the-box integration with databases such as MySQL and uses migration to create and modify tables. Model and Controller: The model represents the database entity and the controller processes HTTP requests.

I encountered a tricky problem when developing a small application: the need to quickly integrate a lightweight database operation library. After trying multiple libraries, I found that they either have too much functionality or are not very compatible. Eventually, I found minii/db, a simplified version based on Yii2 that solved my problem perfectly.

Although Notepad cannot run Java code directly, it can be achieved by using other tools: using the command line compiler (javac) to generate a bytecode file (filename.class). Use the Java interpreter (java) to interpret bytecode, execute the code, and output the result.

To view the Git repository address, perform the following steps: 1. Open the command line and navigate to the repository directory; 2. Run the "git remote -v" command; 3. View the repository name in the output and its corresponding address.

To set the shortcut keys for Sublime Text, follow these steps: Open the shortcut key settings file Key Bindings - User. Add shortcut key settings using the format { "keys": ["key combination"], "command": "command" }. Save changes. Reload the shortcut key settings for the changes to take effect.

There are many ways to customize a development environment, but the global Git configuration file is one that is most likely to be used for custom settings such as usernames, emails, preferred text editors, and remote branches. Here are the key things you need to know about global Git configuration files.

To install Laravel, follow these steps in sequence: Install Composer (for macOS/Linux and Windows) Install Laravel Installer Create a new project Start Service Access Application (URL: http://127.0.0.1:8000) Set up the database connection (if required)
