Author Topic: Does it mean the database is not created?  (Read 9354 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Does it mean the database is not created?
« on: December 02, 2018, 05:50:14 PM »
I want to install a Wordpress website.
I create a new database and user  in mysql_manager but the Worpress do not accept it.

The new database is not added to the PhpMysql and list of MySQL databases and users is empty.

Does it mean the database is not created?

Thanks
I love CWP

Offline
***
Re: Does it mean the database is not created?
« Reply #1 on: December 03, 2018, 01:26:55 AM »
Obviously if the database and user name are not listed, then you never created the db and user.  Try it again.

Offline
*
Re: Does it mean the database is not created?
« Reply #2 on: December 03, 2018, 08:57:35 AM »
Thanks for your reply

I have made about 10 other databases before and I have them in Phpmyadmin. They are not listed database manager of CWP and when I make a new user and database it doesn't list anywhere and the Wordpress do not accept it too.

I love CWP

Offline
*
Re: Does it mean the database is not created?
« Reply #3 on: December 08, 2018, 12:10:01 PM »
What should be the version of MariaDB?
Mine is 10.1.37-MariaDB
Can it be the reason?

I read sth here:
http://forum.centos-webpanel.com/mysql/yum-manager-and-yum-usdate-failing-to-update-maria-sql/

Thanks
I love CWP

Offline
***
Re: Does it mean the database is not created?
« Reply #4 on: December 08, 2018, 06:54:26 PM »
Hi Yeknafar,

I don't know what version WP you are installing.
I do not know the code of CWP Mysql Manager.
But I can assure to you if your DB is not listed in PhpMyAdmin, you surely have not created that database.

So, my recommendation is:
1) be sure you create the database in any way (mysql command line, CWP DB Manager, PhpMyAdmin, etc.), and be sure it will be listed in PhpMyAdmin.
2) meet the requirements listed in INSTALL file of WordPress. We can hel if you list it here.

Regards,
Netino

Offline
*
Re: Does it mean the database is not created?
« Reply #5 on: December 08, 2018, 07:36:50 PM »
Hi Netino

Thank you for your attention and answer.

Now I am using


Here are the details  :)

CWP version: 0.9.8.746


Data Entered
================================
Database, Username, Password

https://website.com


But the Wordpress do not accept them and when I go to PHPmyadmin I can not find this  databse too.

 
« Last Edit: December 10, 2018, 01:51:59 PM by Igor S. »
I love CWP

Offline
***
Re: Does it mean the database is not created?
« Reply #6 on: December 10, 2018, 01:10:41 AM »
Hello,

This wasn't the detail I was expecting..  ;D

Your installation is claiming about the following:
===========================================
Error establishing a database connection
---
This either means that the username and password information in your wp-config.php file is incorrect or we can not contact the database server at localhost. This could mean your host’s database server is down.

1) Are you sure you have the correct username and password?
2) Are you sure that you have typed the correct hostname?
3) Are you sure that the database server is running?
===========================================

Was typed 'localhost', is just only thing I can assure is correct.

You need to assure you login is correct.
Try to access the PhpMyAdmin in your server, and check if you can login to it.

If you can't login, you must to create a correct login.
If you can login correclty, you must check the permissions of your file:
/home/USERNAME/public_html/wp-config.php

It must needed to set +rw (or 666) to your username, at this file.
Do it with FileManager, ou SSH login to your server, with the following command:
# chmod +rw USERNAME:USERNAME /home/USERNAME/public_html/wp-config.php

...and do not provide your login details publicly, unless you want to be hacked. change it immediately.

Regards,
Netino

Offline
*
Re: Does it mean the database is not created?
« Reply #7 on: December 10, 2018, 08:32:07 AM »
Thanks for your reply.
I can login to Phpmyadmin.
I changed the permission of /home/USERNAME/public_html/wp-config.php
but it's the file of my main domain and I want to install a new subdomain.

The main problem is when I create a database it does not be created.

CWP Mysql manager gives me the details but it does not work.

I love CWP