MYSQL开启远程访问权限 用PHPMYADMIN-权限-添加新用户 开3306端口,grant一个帐户,默认的root不能用作远程连接。 您已添加了一个新用户。 www.shengfang.org 用户 'sf' at '192 dot 168.1.2' www.shengfang.org MySQL account information is stored in the tables of the mysql database. This database and the access control system are discussed extensively in Chapter 5, Database Administration, which you should consult for additional details. If the grant tables contain privilege records that contain mixed-case database or table names and the lower_case_table_names system variable is set, REVOKE cannot be used to revoke the privileges. It will be necessary to manipulate the grant tables directly. (GRANT will not create such records when lower_case_table_names is set, but such records might have been created prior to setting the variable.) #下面这条指令可以把虚拟目录freehost映射到实际路径/apache/webroot/users/下! Order allow,deny TypesConfig conf/mime.types MIMEMagicFile conf/magic #Alias/class/"/apache/webroot/phpa"#虚拟目录啦 Alias /c "c:" www.shengfang.org <Directory "c:"> 字体:大 中 小 |
![]() | 永久地址 http://www.shengfang.org/blog/p/mysqllremoteapach.php |
![]() | 引用地址 http://www.shengfang.org/blog/tb.php?tb_id=1125975512 |
2005年9月6日10:58星期二 [Dev开发]





