Azazia Software Knowledgebase
Search:     Advanced search
Browse by category:
Contact Us

I have run the installer however it says it will not connect to the database (unable to connect to database).

Add comment
Views: 484
Votes: 0
Comments: 0
Posted: 03 Jan, 2010
by: Patridge B.
Updated: 03 Jan, 2010
by: Patridge B.
PROBLEM:

I have run the initial (setup.exe) DCA installer however I keep receiving an unable to connect to database error?

TROUBLESHOOTING:


The dca_config.php should contain all of the settings after you run the setup.

Does the dca_config.php exist?

The database parameters are in the dca_db.php Are they correct inside this file?

Are you running on windows or solaris?


What happens when you type

#  mysql -u <the userid you gave> -p <the password you gave> -D<database name>

the default userid is [root]
the default password is [password]
the default database is [dca]

Therefore the default syntax would be:

# mysql -uroot -ppassword -Ddca

*note, it does not matter if you put a space between the "-u" and "-p" and "-D"

If you can not connect to mysql database using your userid/password then I would verify mysql is up and running.  In windows check Services (control panel - administrative tools -- services) or in unix "ps -ef|grep mysql"


If you can connect then you would need to contact support to describe the error.

The majority of these errors are due to either an incorrect userid/password, or the mysql service not being properly started.
Others in this Category
document What environments and components are qualified for Data Center Audit?
document Image not shown at login page
document Having difficulty displaying DCA correctly when operating off of the root (/) directory of my webserver
document How do I manually create the DCA mysql database and tables on UNIX?
document How do I manually create the DCA MySQL Database and Tables on Windows?
document How to modify the Rack (X,Y) and Row (Z) Coordinates under add or modify host entry
document Print web page output to an Adobe PDF
document Changing the background row color in Data Center Audit (DCA)
document Background Image does not go all the way to the edge of the screen
document Change or customize the background image in Data Center Audit
document The wampapache service could not be started: A service specific error occurred: 1.



RSS