??xml version="1.0" encoding="utf-8" standalone="yes"?>国产原创av在线,免费在线视频一级不卡,青春草免费在线视频http://www.aygfsteel.com/magicblw/category/27040.html技术♥感情zh-cnSat, 15 Dec 2007 16:27:24 GMTSat, 15 Dec 2007 16:27:24 GMT60MySqlq程q接的问?/title><link>http://www.aygfsteel.com/magicblw/archive/2007/12/15/167965.html</link><dc:creator>怎么慕天空的飞?/dc:creator><author>怎么慕天空的飞?/author><pubDate>Sat, 15 Dec 2007 08:27:00 GMT</pubDate><guid>http://www.aygfsteel.com/magicblw/archive/2007/12/15/167965.html</guid><wfw:comment>http://www.aygfsteel.com/magicblw/comments/167965.html</wfw:comment><comments>http://www.aygfsteel.com/magicblw/archive/2007/12/15/167965.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/magicblw/comments/commentRss/167965.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/magicblw/services/trackbacks/167965.html</trackback:ping><description><![CDATA[<div>解决Ҏ(gu)(?Q?br /> <br /> 1。改表法。可能是你的帐号不允总q程登陆Q只能在localhost。这个时候只要在localhost的那台电(sh)脑,dmysql后,更改 "mysql" 数据库里?"user" 表里?"host" ,?localhost"改称"%"<br /> mysql -u root -pvmwaremysql>use mysql;mysql>update user set host = '%' where user = 'root';mysql>select host, user from user;</div> <div><br /> 2. 授权法。例如,你想myuser使用mypassword从Q何主接到mysql服务器的话?br /> GRANT ALL PRIVILEGES ON *.* TO <a href="mailto:'myuser'@'%'">'myuser'@'%'</a> IDENTIFIED BY 'mypassword' WITH GRANT OPTION;如果你想允许用户myuser从ip?92.168.1.3的主接到mysql服务器,q用mypassword作ؓ(f)密码GRANT ALL PRIVILEGES ON *.* TO <a href="mailto:'myuser'@'192.168.1.3'">'myuser'@'192.168.1.3'</a> IDENTIFIED BY 'mypassword' WITH GRANT OPTION;<br /> </div> <img src ="http://www.aygfsteel.com/magicblw/aggbug/167965.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/magicblw/" target="_blank">怎么慕天空的飞?/a> 2007-12-15 16:27 <a href="http://www.aygfsteel.com/magicblw/archive/2007/12/15/167965.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>行程序时出现 "Error establishing socket" 错误http://www.aygfsteel.com/magicblw/archive/2007/11/28/163714.html怎么慕天空的飞?/dc:creator>怎么慕天空的飞?/author>Wed, 28 Nov 2007 08:12:00 GMThttp://www.aygfsteel.com/magicblw/archive/2007/11/28/163714.htmlhttp://www.aygfsteel.com/magicblw/comments/163714.htmlhttp://www.aygfsteel.com/magicblw/archive/2007/11/28/163714.html#Feedback2http://www.aygfsteel.com/magicblw/comments/commentRss/163714.htmlhttp://www.aygfsteel.com/magicblw/services/trackbacks/163714.html     调试q程中注意重启sql服务,其是测试防火墙因素?吃了点亏,哈哈)
如运行程序时出现 "Error establishing socket" 错误,则应q行如下调试:


1 (g)查SQL SERVER 是否允许q程讉K.具体步骤:

1)打开"企业理?,打开控制台根目录>SQL Server l?gt;数据?br /> 2)在相?数据?上单d?选择"属?
3)选择"q接"选项?(g)?q程服务器连??RPC服务是否选择.

2 使用telnet IP地址 1433,pȝ是否提示q接出错,如系l提C出?br /> (g)查是否防火墙屏蔽了SQL SERVER ?java IDE 的网l访问端?br /> 如果?关闭防火?重新启动SQL SERVER和java IDE,q行试,
如果pȝ仍提CZq错?试下列步骤

3 (g)查SQL SERVER 端口号及(qing)是否启用了TCP/IP协议,具体步骤:

1)打开"企业理?,打开控制台根目录>SQL Server l?gt;数据?br /> 2)在相?数据?上单d?选择"属?
3)选择"常规"选项?点击"|络配置",如启用的协议中无"TCP/IP协议"其加入
4)选择"TCP/IP协议",点击"属?,(g)查其端口h否ؓ(f)1433
5)如端口号?433其修改为其它端口号,修改jdbcq接语句,端口号同样改ؓ(f)新启用的端口?如jdbc:microsoft:sqlserver://server_name:1400(假设新端口号?1400) 


]]>
linux下安装oracle 10ghttp://www.aygfsteel.com/magicblw/archive/2007/11/23/162630.html怎么慕天空的飞?/dc:creator>怎么慕天空的飞?/author>Fri, 23 Nov 2007 06:48:00 GMThttp://www.aygfsteel.com/magicblw/archive/2007/11/23/162630.htmlhttp://www.aygfsteel.com/magicblw/comments/162630.htmlhttp://www.aygfsteel.com/magicblw/archive/2007/11/23/162630.html#Feedback3http://www.aygfsteel.com/magicblw/comments/commentRss/162630.htmlhttp://www.aygfsteel.com/magicblw/services/trackbacks/162630.html阅读全文

]]>
查看数据库连接数的sql语句http://www.aygfsteel.com/magicblw/archive/2007/09/12/144412.html怎么慕天空的飞?/dc:creator>怎么慕天空的飞?/author>Wed, 12 Sep 2007 01:33:00 GMThttp://www.aygfsteel.com/magicblw/archive/2007/09/12/144412.htmlhttp://www.aygfsteel.com/magicblw/comments/144412.htmlhttp://www.aygfsteel.com/magicblw/archive/2007/09/12/144412.html#Feedback0http://www.aygfsteel.com/magicblw/comments/commentRss/144412.htmlhttp://www.aygfsteel.com/magicblw/services/trackbacks/144412.html        个hl常在测试Y件时使用q个命o(h)。可以有效查看某一用户q接数据库的实例个数?/span>

select * from v$session where username is not null
select username,count(username) from v$session where username is not null group by username 


]]>
վ֩ģ壺 | | | ư| | Ȫ| | | | Ĭ| | | º| | ׳| ˮ| Ϫ| ǹ| | ն| ں| | | ĵ| | ͺ| Ϫ| Ϫ| ƽ| ϲ| | | | ʼ| | | ˹| | ַ| | բ|