помогите
использовал ORM RedBeanPHP
private function connectToDataBase() # Подключение к базе данных { \R::setup( 'mysql:host=localhost;dbname='.DB::$db_name.'', ''.DB::$db_user.'', ''.DB::$db_password.''); }
Please speak in English? localhost
won’t work on this hosting, to find your database host go to cpanel, in account detail there’s MySQL hostname.
3 Likes
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.