mantis-1.0.3 install problem

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Tappi
Posts: 1
Joined: 12 Jul 2006, 09:50

mantis-1.0.3 install problem

Post by Tappi »

Hi,

at first, sry my english is not so good, i hope you understand me.

My problem is, if i want to install i get the error:

BAD
Does administrative user have access to the database? ( Host 'webbox296.server-home.net' is not allowed to connect to this MySQL server )

I have the Database createt manual with mysql and write the informations at the boxes by the instaltion

All my entries on informations are right.

Type of Database: MySql

Hostname (for Database Server) homepagename

Username (for Database) login name for the database

Password (for Database) login password for the database

Database name (for Database) name of the database

Admin Username (to create Database) administrator (so i have read it in the documentations

Admin Password (to create Database) root (so i have read it in the documentations)

Why i get allways that ****** error messsage? plz help me

Tappi

--[ Admin Edit: Please leave out the inappropriate, vulgar language ]--
Xcert
Posts: 6
Joined: 13 Jul 2006, 08:33

Re: mantis-1.0.3 install problem

Post by Xcert »

Tappi wrote:Admin Username (to create Database) administrator (so i have read it in the documentations
which documentation did U read?

try using "root" as the login name.
mroeder
Posts: 39
Joined: 10 Apr 2006, 20:56

Post by mroeder »

During the install process, there are two sets of passwords you have to keep track of.

The first set is passwords to access MySQL. Those are maintained by MySQL itself and you have to know some MySQL to set those.

The second set is passwords to access Mantis. These are maintained by the PHP programs in Mantis. (What's confusing is that they too are stored in a MySQL database.)

The error message "Host 'webbox296.server-home.net' is not allowed to connect to this MySQL server" tells you that MySQL is not allowing the apache/php program to talk to the database. To add a user to MySQL, log into MySQL and do this:

> grant all on *.* to mantis@webbox296;

Then set that user's password:

> set password for mantis = password('stupidpassword');

Once that's done, you have to create the Mantis database. You do this from a shell:

# mysql -u mantis -pstupidpassword < /var/www/html/mantis/sql/db_generate.sql

(Your English is good enough for me. :) )
Post Reply