我是一个postgreSQL新手,我找不到任何有用的使用psql命令的介绍。至少我认为这是我想要使用的命令。在不指定数据库的情况下连接-我似乎不能用psql做到这一点:
$ mysql -u root -prootpasswordServer version: 5.5.28 MySQL Community
version 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10.6.0]gem version 1.7.1 Could not find mysql2-0.2.7 in any of the sources
我已经运行了sudo gem install mysql2,它成功地完成了。缺失的“包”已安装在/usr/local