Author Topic: it asks for mysql password on first install  (Read 1548 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
it asks for mysql password on first install
« 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:
« Last Edit: July 01, 2023, 11:39:23 AM by bluesky06 »

Offline
*
Re: it asks for mysql password on first install
« Reply #1 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

Offline
*
Re: it asks for mysql password on first install
« Reply #2 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        #
#############################


Offline
*
Re: it asks for mysql password on first install
« Reply #3 on: July 28, 2023, 03:18:37 PM »
We need to fix that as soon as possible , I have the same problem


Offline
*****
Re: it asks for mysql password on first install
« Reply #4 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 ?