Solved

MySQL Database Connection & Creation Error Installing DotProject

Posted on 2008-06-13
1
1,642 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 78

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

Upcoming Webinar: Securing your MySQL/MariaDB data

Join Percona’s Chief Evangelist, Colin Charles as he presents Securing your MySQL®/MariaDB® data on Tuesday, July 11, 2017 at 7:00 am PDT / 10:00 am EDT (UTC-7).

Question has a verified solution.

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

Creating and Managing Databases with phpMyAdmin in cPanel.
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
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.

687 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