acl/lib_acl_cpp/samples/mysql2/ReadMe.txt

40 lines
1.3 KiB
Plaintext
Raw Normal View History

2014-11-19 00:25:21 +08:00
========================================================================
<20><><EFBFBD><EFBFBD>̨Ӧ<CCA8>ó<EFBFBD><C3B3><EFBFBD> : mysql <20><>Ŀ<EFBFBD>ſ<EFBFBD>
========================================================================
Ӧ<EFBFBD>ó<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> mysql Ӧ<>ó<EFBFBD><C3B3><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> mysql Ӧ<>ó<EFBFBD><C3B3><EFBFBD>
<EFBFBD><EFBFBD>ÿ<EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ժҪ<EFBFBD><EFBFBD>
mysql.vcproj
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD>ó<EFBFBD><C3B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɵ<EFBFBD> VC++ <20><>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD>
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>й<EFBFBD><D0B9><EFBFBD><EFBFBD>ɴ<EFBFBD><C9B4>ļ<EFBFBD><C4BC><EFBFBD> Visual C++ <20><EFBFBD><E6B1BE><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD>Լ<EFBFBD>
<20>й<EFBFBD><D0B9><EFBFBD>Ӧ<EFBFBD>ó<EFBFBD><C3B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD>
ƽ̨<C6BD><CCA8><EFBFBD><EFBFBD><EFBFBD>ú<EFBFBD><C3BA><EFBFBD>Ŀ<EFBFBD><C4BF><EFBFBD>ܵ<EFBFBD><DCB5><EFBFBD>Ϣ<EFBFBD><CFA2>
mysql.cpp
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD>ó<EFBFBD><C3B3><EFBFBD>Դ<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD>
/////////////////////////////////////////////////////////////////////////////
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>׼<EFBFBD>ļ<EFBFBD>:
StdAfx.h<><68>StdAfx.cpp
<20><>Щ<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ mysql.pch
<20><>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>ͷ(PCH)<29>ļ<EFBFBD><C4BC>Լ<EFBFBD><D4BC><EFBFBD>Ϊ StdAfx.obj <20><>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD>
/////////////////////////////////////////////////////////////////////////////
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><EFBFBD>:
Ӧ<EFBFBD>ó<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD> "TODO:" ע<><D7A2>ָʾӦ<CABE><D3A6><EFBFBD>ӻ<EFBFBD><D3BB>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>Դ<EFBFBD><D4B4><EFBFBD>벿<EFBFBD>֡<EFBFBD>
/////////////////////////////////////////////////////////////////////////////
use mysql;
create database acl_test_db;
insert into user (User, Host, Password) values ('acl_user', 'localhost', PASSWORD('111111'));
insert into user (User, Host, Password) values ('acl_user', '192.168.1.%', PASSWORD('111111'));
grant CREATE,DROP,INSERT,DELETE,UPDATE,SELECT on acl_test_db.* to 'acl_user';
flush privileges;