1

Topic: No MySQL databases created

Hello there,

I installed iRedMail-0.7.3-rc2 with the MySQL back-end but after the installation I found out it didn't add anything to the MySQL server (no databases created).

I noticed that the installer tried to connect to the MySQL server without a password. I provided the correct root password for the MySQL server.

So obviously Roundcube doesn't work, and probably postfix won't work either.

Is there a way I can do a complete reinstall. I tried to just run the installer again but it skipped almost everything.
Or is there a way to do the MySQL import stuff again?

Thank you for your time.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: No MySQL databases created

Did you have MySQL server running (with changed password) before installing iRedMail?
Here's shell script used to remove all mail server related components:
http://iredmail.googlecode.com/hg/extra … redmail.sh

WARNING: If you already have data in MySQL database or other applications, don't use this script.

3

Re: No MySQL databases created

Thanks for your reply.

I solved it by looking at /var/log/yum.log and remove the packages installed by iRedMail, then I removed /var/lib/mysql so all settings for the MySQL server were lost.

I then removed the MySQL server, Apache and PHP. Ran the iRedMail script again by untarring the package again and run it from there.

I changed /etc/httpd/conf/httpd.conf by adding the other domain names and making some configuration modifications.

It works fine now.

I'm only having one problem which is not related to the topic title.
The problem I'm having is when I visit my website with HTTPS instead of HTTP it goes to the default CentOS Apache page (/var/www/html/ ?). Can I add custom certificates so I can make it work correctly?

4

Re: No MySQL databases created

roelj wrote:

The problem I'm having is when I visit my website with HTTPS instead of HTTP it goes to the default CentOS Apache page (/var/www/html/ ?). Can I add custom certificates so I can make it work correctly?

Sorry, i don't quite understand what your question is. sad