[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

MySQL Database Connection & Creation Error Installing DotProject

Posted on 2008-06-13
1
Medium Priority
?
1,662 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 80

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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
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…

649 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