Fresh Install DB not found

Started by stroes, June 15, 2018, 10:13:11 AM

Previous topic - Next topic

stroes

Hi

Just did a fresh install of CWP on Centos 7. But when i try to start it i get this error:

######################
Update Server Packages
######################
PHP Warning:  mysqli_connect(): (HY000/1049): Unknown database 'root_cwp' in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
PHP Warning:  main(/usr/local/cwpsrv/htdocs/resources/admin/include/postfix.php): failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
PHP Warning:  main(): Failed opening '/usr/local/cwpsrv/htdocs/resources/admin/include/postfix.php' for inclusion (include_path='.:/usr/local/cwp/php71/lib/php') in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
PHP Notice:  Undefined variable: db_host_postfix in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
PHP Notice:  Undefined variable: db_user_postfix in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
PHP Notice:  Undefined variable: db_pass_postfix in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
PHP Notice:  Undefined variable: db_name_postfix in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
PHP Warning:  mysqli_connect(): (HY000/1049): Unknown database 'root_cwp' in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
PHP Warning:  mysqli_select_db() expects parameter 1 to be mysqli, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
Could not select database root_cwp


Any idea what the issue can be. The sql and cwp config root passwords are the same. But when i check the database there is no cwp_root database.

Any ideas how i can fix the installation or reinstall without reinstalling the entire server?

studio4host

if you are missing database then you could be missing something else also so the best would be that you reinstall the server
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.