Tags: databases mysql SQL databaseFirst, the cmd common MySQL related commandsmysql-d,--database=name//Open Database--delimiter=name//Specify delimiter-H,--host=name//server name-P,--password[=name]//password-P,--Port[=name]//Port number--prompt==name//Setup prompt-U,--user=name//user name-V,--version//output version numberCan be used in combination, such as input-uusernam-ppassword login user name usrname
One, the CMD frequently uses the MySQL related commandmysql-d,--database=name//Open Database--delimiter=name//Specify delimiter-H,--host=name//server name-P,--password[=name]//password-P,--Port[=name]//Port number--prompt==name//Setup prompt-U,--user=name//username-V,--version//output versionAble to use combination, such as input-uusernam-ppassword login username for usrname password for password accountII. Basic data typesIntegral type:
bracket
# For example, call the stored procedure defined above
Call Productpricing ();
# Even without passing arguments, the parentheses "()" Behind the stored procedure name are also required
The method for deleting a stored procedure is:
Drop Procudure productpricing;
To create a stored procedure with parameters:
Create Procudure productpricing (
Out P1 decimal (8,2),
Out ph Decimal (8,2),
Out PA decimal (8,2)
)
Begin
Select min (prod_price) into PL-products
Label:MySQL has a lot of connector: One of the J,c++,c is primarily used to develop connected MySQL applications using languages such as java,c++,c. ODBC: Used primarily for universal programs connected to a database on a variety of platform windows,linuxe, such as PowerDesigner when connecting to a database. ==================================================== Installation: Http://jingyan.baidu.com/articl
Label:The LoadRunner Test database is a simulated client to connect to the database server, and therefore requires protocol (or driver support). The loadrunner itself directly supports Oracle, SQL Server databases, which can record scripts directly from the two databases by selecting the appropriate protocol. The MySQL database can only use the ODBC Protocol to record (write) the script, so you have to
Tags: mysql ODBCOne. Create MySQL ODBC: 1. Start menu, Control Panel, and management tools: Attention: 1). Data Source Name: This is the name of the code that accesses ODBC later. The specific use reference is later analyzed. 2
mysql|odbc| Data | conversion
Convert MySQL database to MSSQL database, or convert MSSQL database to MySQL database, which is often used in NT environment. Using MySQL ODBC is better, you can use the MSSQL7 management tools, you c
Converting a MySQL database to a SQL Server database, or converting a SQL Server database to a MySQL database, is often used in NT environments. Using MySQL ODBC is easier, you can use the SQL Server7 management tools, you can use the MySQL management tools, you can use othe
Convert MySQL database to MSSQL database, or convert MSSQL database to MySQL database, which is often used in NT environment. Using MySQL ODBC is better, you can use the MSSQL7 management tools, you can use the management tools of MySQL, but also use other party management t
Label:Category: 4. Software Design/Architecture/testing 2010-01-08 17:48 5635 people read reviews (3) favorite reports Loadrunnermysql script Database SQL Server TestRecently did a few weeks of loadrunner test, have some experience, recorded, in order to find later. The LoadRunner test database is a simulated client to connect to the database server, and therefore requires protocol (or driver support). The LoadRunner itself directly supports Oracle, SQL Server databases, which can record scr
MySQL database field export-dbexportdoc v1 + MySQL ODBC configurationImportant: 1,dbexportdoc v1 software (embedded macro Word file), self-search download it, (Blog Park reference article, its introduction a bit of a problem, misled me for a long time)2,MYSQL,
example, # define OTL_ODBC_MYSQL indicates connecting to the ODBC MySQL database.
2. case:
1) Specify the database type to connect:
# Define OTL_ODBC_MYSQL // specify the connected database type
2) import the OTL 4 header file
#include
3) define a database instance:
Otl_connect db; // defines the database instance
4) initialize the
Is the final effect of the program, including data display, add, modify, and delete common functions of these database operations.
My debugging environment is XP and MySQL version is mysql4.0.23
1. Install the ODBC driver of MySQL
Download driver from http://www.mysql.com
Address: http://dev.mysql.com/downloads/connec
1.ODBC connecting MySQLWhat is ODBC first?Open Database Interconnect (CONNECTIVITY,ODBC) is an integral part of the database in the Microsoft Open Service Architecture (Wosa,windows Open Services Architecture). It establishes a set of specifications and provides a set of standard APIs (application programming interface
A MySQL table is designed in PowerDesigner of Win7. It is only found that MySQL is ready to be imported into the MySQL database.The ODBC program is not installed, and the ODBC configuration is not found in the console. This is too tricky.
Install and configure the mysql-ODBC driver in 64-bit win7
To use powerdesigner, you need to configure ODBC. after repeated failures, the following knowledge points are summarized:
1. there are some bugs in ODBC drivers of different versions of mysql5. if you cannot ch
Tags: connection database issues SQL PRE command ODBC Col multibyte character set altVs in establishing an empty project when using an ODBC connection, the SQLConnect function always returns -1,MYSQL and the command-line connection database is fine.Retcode = SQLConnect (HDBC, (sqlchar*)"test", Sql_nts, (sqlchar*)"root
Label:ODBC data Source configuration: needs to be configured on the server where the site is located, the ODBC driver version number 5.15 is recommended. (explained in Mysql-connector-odbc-3.51.20-win32.exe) An ODBC-based application operates on a database that does not rely on any DBMS, does not interact directly with
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.