mysql> SOURCE [路径]文件名
mysql> SOURCE [路径]文件名
有两种写法:
1、
mysql> SOURCE cr_pet_tbl.sql
这个时候,cr_pet_tbl.sql必须放在你的mysql/bin目录下面,即跟mysql.exe同一目录
2。
mysql> SOURCE c:\cr_pet_tbl.sql
这个时候位置位置正确即可,
相关文档:
下面我给大家介绍几种在mysql数据库中修改root密码的方法
方法一:
原始密码是 ckh
mysql -uroot -pckh
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 7 to server version: 5.0.22-community-nt
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
my ......
最近写了一个简单的Mysql操作类,拿出来和大家分享一下,还请各位高手指正一下析构函数的用法:
<?php
/*
* Created on 2010-5-25
*
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
*
* class mysql
* made by S71ENCE
*/
class mysql ......
准备:
lighttpd-1.4.15.tar.gz
php-4.4.2.tar.gz
mysql-5.0.20a.tar.gz
开始:
1 编译安装lighttpd
# tar zxvf lighttpd-1.4.15.tar.gz
# cd lighttpd-1.4.15
# ls
# ./configure --prefix=/usr/local/lighttpd //此部无法编译时提示安装prce-devel
#&nbs ......
mysql添加用户方法
建立数据库gamesp
create database gamesp;
添
加用户
grant all on 数据库名.* to 用户
名
@localhost identified by '密码';
grant all on gamesp.* to
newuser@localhost
identified by
'pas ......