?
Solved

MySQL Database Connection & Creation Error Installing DotProject

Posted on 2008-06-13
1
Medium Priority
?
1,654 Views
Last Modified: 2008-06-14
Overview: I am installing dotproject software locally on my Vista machine.  I'm running the latest version of WAMP.

Problem: Cannot seem to set up the database.  I have used 'localhost' and the name of my machine as the database hostname.

As localhost, the installer tries the username 'user@localhost' and returns an Access Denied error (using password:YES).

When I use the name of my machine I get: 'Unknown MySQL server host'  The exact error is below.

Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host '[machine-name]' (11004) in C:\wamp\www\dotproject\lib\adodb\drivers\adodb-mysql.inc.php on line 354

What do I do to resolve this and get this working?

Thanks!
0
Comment
Question by:joshua731
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 79

Accepted Solution

by:
arnold earned 1000 total points
ID: 21784818
If you do not have the GUI tools to manage mysql, you should get them at http://dev.mysql.com/downloads/gui-tools/5.0.html.  Make sure you have defined a login for user on any host.
The setting/configuration on your mysql could be the reason.
1) use the mysql tool on the command line"mysql -u root"
use mysql
select * from user;
select * from db;
select * from host;

make sure the user is present and has the rights to the database.
Using the GUI tools you can create a user.

0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question