diff --git a/README.md b/README.md index 531098ed2..52207c117 100644 --- a/README.md +++ b/README.md @@ -341,14 +341,12 @@ import {createConnection} from "typeorm"; import {Photo} from "./entity/Photo"; createConnection({ - driver: { - type: "mysql", - host: "localhost", - port: 3306, - username: "root", - password: "admin", - database: "test" - }, + type: "mysql", + host: "localhost", + port: 3306, + username: "root", + password: "admin", + database: "test" entities: [ Photo ],