增加普通用户后,执行: mysql> use mysql mysql> delete from user where user=''; mysql> flush privileges; 意思是删除匿名用户。
Popular Articles
Recent Stories
建立表:
CREATE TABLE IF NOT EXISTS `postdata` ( `id` int(11) NOT NULL auto_increment, `city` varchar(255), `time` varchar(255), `code` varchar(255), `school` varchar(255), `pay` varchar(255), `state` varchar(255), `updatetime` datetime PRIMARY KEY (`code`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
joomla上安装sobipro时,需要curl库的扩展支持,安装命令如下:
sudo apt-get install curl libcurl3 libcurl3-dev php5-curl
I’ve been using Linode for a few months to host about a dozen websites and I’ve been very happy with the experience. I have found the documentation at Linode to be clear and concise, especially when it comes to setting up multiple sites using a standard, Ubuntu-based LAMP (Linux, Apache, MySQL, PHP) configuration.
重新安装gd库:apt-get install php5-gd 不起作用的话,更新过后再安装gd库:apt-get update,重启:service apache2 restart OK。
cron是一个Linux下的后台进程,用来定期的执行一些任务。因为我用的是Ubuntu,所以这篇文章中的所有命令也只能保证在Ubuntu下有效,但其他系统应该也差不多。