Control Web Panel

WebPanel => Installation => Topic started by: bluesky06 on July 01, 2023, 11:37:09 AM

Title: it asks for mysql password on first install
Post by: bluesky06 on July 01, 2023, 11:37:09 AM
cd /usr/local/src
wget http://centos-webpanel.com/cwp-el7-latest
sh cwp-el7-latest

I'm trying to install cwp panel in centos7 operating system, it asks for mysql password on first installation

mysql is /usr/bin/mysql
Enter password:
Title: Re: it asks for mysql password on first install
Post by: dzigns on July 17, 2023, 06:14:51 PM
Did you find a solution for this? Mine did as well and it seems like the installation is stalled at installing phpmyadmin
Title: Re: it asks for mysql password on first install
Post by: max on July 28, 2023, 12:20:58 PM


Same problem clean install.

--2023-07-28 12:06:03--  http://static.cdn-cwp.com/files/3rdparty/stats/goaccess/goaccess.conf
Resolving static.cdn-cwp.com (static.cdn-cwp.com)... 167.114.21.226, 151.80.90.199, 137.74.148.116, ...
Connecting to static.cdn-cwp.com (static.cdn-cwp.com)|167.114.21.226|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2023-07-28 12:06:03 ERROR 403: Forbidden.



====================================================
============= CentOS Web Panel Cron ================
====================================================


###########################
Firewall Flush Daily Blocks
###########################


######################
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:  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
#############################
#      CWP Installed        #
#############################

Title: Re: it asks for mysql password on first install
Post by: max007 on July 28, 2023, 03:18:37 PM
We need to fix that as soon as possible , I have the same problem

Title: Re: it asks for mysql password on first install
Post by: overseer on July 28, 2023, 11:02:08 PM
You've supplied the MySQL root user password (not the system root user)?
And as a prerequisite, you've successful run mysql_secure_installation ?