mysql数据库,ef进行 update-database 时;
报:
An error occurred using the connection to database '' on server 'localhost:3307'.
错误原因:
“server=localhost:3307;user=root;password=123456;database=ef”;
写法错误,应该是:
“server=localhost;port=3307;user=root;password=123456;database=ef”;