# Setting Up MySQL

**URL:** <https://www.phphelp.com/t/setting-up-mysql/9166>\
**Category:** General Database (Oracle, SQL Server, etc)\
**Created:** [June 23, 2004, 12:55am UTC](https://www.phphelp.com/t/setting-up-mysql/9166 "2004-06-23T00:55:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlackPhoenix](https://www.phphelp.com/letter_avatar_proxy/v4/letter/b/e9c0ed/32.png) [@BlackPhoenix](https://www.phphelp.com/u/BlackPhoenix)\
**Post date:** [June 23, 2004, 12:55am UTC](https://www.phphelp.com/t/setting-up-mysql/9166/1 "2004-06-23T00:55:12Z")

</div>

alright, I just reformatted my computer and I am beginning to setup MySQL, PHP, and Apache on it so I can use my computer as a temporary web server.

I’ve installed PHP and Apache and both work fine but I am having problems with MySQL. I installed it and I went into the windows XP command prompt to create a database. I typed in “mysqladmin create main” to create the database “main” but when I do so it returns an error of access being denied to use “@localhost”.

I am at a loss of how to configure a username for mysql so if anyone could help it would be greatly appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![peg110](https://www.phphelp.com/letter_avatar_proxy/v4/letter/p/bb73d2/32.png) [@peg110](https://www.phphelp.com/u/peg110)\
**Post date:** [June 28, 2004, 5:11pm UTC](https://www.phphelp.com/t/setting-up-mysql/9166/2 "2004-06-28T17:11:01Z")

</div>

Please check [http://dev.mysql.com/doc/mysql/en/GRANT.html](http://dev.mysql.com/doc/mysql/en/GRANT.html).

---

<div class="post-metadata">

**Author:** ![ironsun](https://www.phphelp.com/letter_avatar_proxy/v4/letter/i/eada6e/32.png) [@ironsun](https://www.phphelp.com/u/ironsun)\
**Post date:** [September 28, 2007, 8:40pm UTC](https://www.phphelp.com/t/setting-up-mysql/9166/3 "2007-09-28T20:40:42Z")

</div>

WAMP has grown up. Give a try!

I tried a bunch of AMP installers including WAMP in the past and they always ended up the same: unusable!

Then recently I tried the latest WAMP and it was love at fifth sight!

Check it out! It is working now.

IronSun.  
The Sun Is Made Of Iron
