jdbc:mysql:///company等同于 jdbc:mysql://localhost:3306/company company指的是数据库名称 也就是说第三个'/'代表 'localhost:3306/'