1、Uncaught PDOException: SQLSTATE[HY000]: General error: 1007 Can't create database 'ha'; database exists in C]
数据库已经存在,删除数据库即可
drop database ha;
slave 的问题(保留)
stop slave;
set GLOBAL sql_slave_skip_counter = 1;
start slave;
2、Non-static method User::getUserSpace() cannot be called statically in
添加static即可
public static function getUserInfo()