No database selected是因为你没有选择数据库在MySQL中必须要先选择数据库
使用Use [DBName]来选择当前操作的数据库如果你是用的MySQLQueryBrowser,就在右边的数据库列表中双击你要使用的数据库就可以了在SQL Server中,默认的是选择了master库
数据库名