Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > MySQL
|
MySQL General discussion about the MySQL database.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the MySQL section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 20th, 2004, 01:21 PM
Authorized User
 
Join Date: Jun 2003
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default creating new user with admin rights...

Hello i am new to MySQL and am enjoying the experience, but with all newbie alot of questions arise...

when I installed mysql i created the username as user and pass as user which is what it shows in my.ini.

When I go to do certain things such as create a user in mysql Access is denied for user"@Localhos"...or also even run certain scripts I have absolutly no right or permissions.. How can I change it(cause I tried granting myself right but no luck same message). Also How can I create myself as an admin, super user?

thank ahead of time for all your assistance...
 
Old April 20th, 2004, 06:08 PM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

The superuser is the root user, so you should log in as 'root'.

This page talks about setting up the root user after installing MySQL:
http://dev.mysql.com/doc/mysql/en/De...rivileges.html

Have a look at, which talks about creating users:
http://dev.mysql.com/doc/mysql/en/Adding_users.html

And, as always, RTFM!
http://dev.mysql.com/doc/mysql/en/index.html

Regards,
Rich

::::::::::::::::::::::::::::::::::::::::::
The Spicy Peanut Project
http://www.spicypeanut.net
::::::::::::::::::::::::::::::::::::::::::





Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET 2.0 Web Site Admin error on Creating User fmegersa ASP.NET 2.0 Basics 0 December 1st, 2006 08:57 PM
get an error when creating a new user...?? riki_gill ASP.NET 1.x and 2.0 Application Design 1 October 29th, 2006 01:27 PM
Adding another field to the create user admin tool Shell84 ASP.NET 2.0 Basics 3 February 27th, 2006 05:34 PM
user rights and access tanjuakio Access 5 June 19th, 2005 10:46 AM
Re-Creating User Control chiefouko General .NET 2 April 12th, 2004 02:26 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.