Deprecated: main(): The Mongo class is deprecated, please use the MongoClient class in
2017-04-09 22:15
357 查看
使用mongodb客户端连接 $mongo = new MongoClient("mongodb://localhost:27017");
相关文章推荐
- Exception in thread "main" java.lang.RuntimeException: Hive metastore database is not initialized. Please use schematool (e.g. ./schematool -initSchema -dbType ...) to create the schema. If needed, do
- 解决Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
- Android Studio Ubuntu ‘tools.jar’ is not in the Android Studio classpath. Please ensure JAVA_HOME
- 解决mysql_connect(): The mysql extension is deprecated and will beremoved in the future: use mysqli or
- com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: This application is out of date, please click the refresh but
- 解决Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in
- The use of Swift 3 @objc inference in Swift 4 mode is deprecated
- eclipse提示“the default workspace "D:/*****"is in use or cannot be created.Please choose a different”
- Cannot declare class app\home\controller\Cases because the name is already in use
- The default workspace “xxxx” is in use or cannot be created Please choose a different one“
- jQuery 的 event.returnValue is deprecated. Please use the standard event.preventDefault() instead. 警告
- 打开Eclipse提示“The default workspace “xxxx” is in use or cannot be created Please choose a different on
- 无法打开Eclipse:The default workspace “xxx” is in use or cannot be created Please choose a different one
- 1287, "'@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transa
- 打开Eclipse提示“The default workspace “xxxx” is in use or cannot be created Please choose a different on
- Error: Flag android.useDeprecatedNdk is no longer supported and will be removed in the next version
- jQuery 的 event.returnValue is deprecated. Please use the standard event.preventDefault() instead. 警告
- [mysql] mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in
- 1287, "'@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transa