2017-03-05 5 views
1

MySQL 데이터베이스를 Userfrosting에 연결하는 중 문제가 있습니다. 이 가이드에서는 .enr 파일을 디렉터리에 추가하여 Userfrosting에서 데이터베이스 자격 증명을 읽을 수 있지만 작동하지 않는 것으로 보여줍니다.UserFrosting에 .env 파일 추가

다른 사람이 나에게 어떻게하는지에 대한 심층적 인 지침을 줄 수 있습니까? install.php을 실행할 때 다음

는 오류 코드입니다 :

MAMP를 들어
Could not connect to the database '@/'. Please check your database 
configuration and/or google the exception shown below: 
    Exception: SQLSTATE[HY000] [2002] No such file or directory 
    Trace: 
    #0 /Applications/XAMPP/xamppfiles/htdocs/myUserFrostingProject/migrations/install.php(63): PDO->__construct('mysql:host=;dbn...', NULL, NULL) 
    #1 {main} 

답변

관련 문제