Solved

MySQL Database Connection & Creation Error Installing DotProject

Posted on 2008-06-13
1
1,614 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
1 Comment
 
LVL 77

Accepted Solution

by:
arnold earned 250 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

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…
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
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…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

828 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