摘要:
命令行进入tomcat bin目录>D:\Tomcat\apache-tomcat-6.0.32\bin>version 阅读全文
摘要:
免安装的mysql下载后解压到本地后,需要将mysql发布成服务,此段代码非原创,不过实在找不到是哪位发布的了,故没有注明出处@echo offecho "This is a demo script for auto installation of noninstall version of MySQL on Windows. "set MYSQL_HOME=%~dp0echo MYSQL_HOME=%MYSQL_HOME%del /F my.iniecho [client] >> my.iniecho port = 3307 >> my.iniec 阅读全文
摘要:
GRANT ALL PRIVILEGES ON *.* TO username@'%' IDENTIFIED BY "password"分配远程username所有库的访问权限。任何数据库的任何表到用户username使用密码password。1 GRANT ALL PRIVILEGES ON test_db.* TO user1@192.168.1.3 IDENTIFIED BY "password"2 GRANT ALL PRIVILEGES ON test_db.* TO user2@192.168.1.% IDENTIFIED B 阅读全文