![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
database
ferraborghini
这个作者很懒,什么都没留下…
展开
-
Mysql:is not allowed to connect to this MySQL server
ERROR 1130: Host ‘192.168.1.3’ is not allowed to connect to this MySQL server解决方法: 1。 改表法。可能是你的帐号不允许从远程登陆,只能在localhost。这个时候只要在localhost的那台电脑,登入mysql后,更改 “mysql” 数据库里的 “user” 表里的 “host” 项,从”localhost”改转载 2015-09-10 21:34:05 · 427 阅读 · 0 评论 -
SQL Server出现1222的错误,超时
问题:删除触发器的时候出错,然后发现truncate,drop什么得都不能用,最后发现是超时的问题。网上有说是进程阻塞了 select * from master.dbo.sysprocesses where DB_NAME(dbid)=’test’ and spid<>@@SPID 看看阻塞的进程 然后kill掉就行了 exec(‘kill ’ +@spid)由于我是远程连接的数据库,原创 2015-09-15 22:23:29 · 4614 阅读 · 0 评论 -
mysql DELIMITER $$
今天又来复习一下数据库的知识,在写trigger的时候,在编辑器中总是报错误。DELIMITER $$create trigger tg1after insert on testfor each row beginupdate test set name = 'tiansen' where _id =1;end$$DELIMITER ;mysql默认是以;分隔执行一个语句,但是在触发器原创 2016-03-31 23:54:17 · 875 阅读 · 0 评论