Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create an Admin User 2

Status
Not open for further replies.

dagger2002

Programmer
Nov 23, 2004
172
US
I need to create an admin user for my mySql database.

I am using phpMyAdmin for a manager.
 
I don't know how to do it in myphpadmin, but this isn't a myphpadmin forum. To do it using put SQL, issue the command:

grant all on *.* to newadminuser@'localhost' identified by 'theirpassword';
 
I am looking for a way to do it. for my

I need to create an admin user for my mySql database.

My sql Manager is phpMyAdmin.

I want to doit any way possiable. I was wondering if their was a way to doit in sql statements or in my manager.
 
Thanks, Eric, I've been wondering about that myself. I have mysql working well, but only with the test database. When I try a whole variety of ways to check-in, it isn't interested. So I'll be happy to try this. Cheers
paul

It's all very well hoping to get started with mysql and php, but it seems almost impossible to get both working. Very frustrating.
 
kupe

guessing you are trying to run mysql & php on windows? if you are you might be interested in as a quick way to set up apache mysql php

this then gives you some time to learn how to configure mysql php etc..

from there it is only a short step to LAMP
 
hvass

Thanks very much for the advice and the link. Perfect timing. I've not found it easy to get ISS and php and mysql going, and have been thinking seriously of apache. I will be only too pleased to try it. Cheers paul
 
Hi Eric
I followed your advice last night -

grant all on *.* to newadminuser@'localhost' identified by 'theirpassword';

- but the best I could get was "Error 1045: Access denied for user: '@localhost'(Using password: No)

Does that mean some error by me, or ... Be grateful for advice. Cheers
paul
 
hvass

I've searched for something like this for months. I've dowloaded xampp and can't wait to try it out tonight. If I can a c t u a l l y work with mysql, php and a server altogether ... well, I won't believe my luck. Thanks very much for the direction. Cheers paul
 
The error "Access denied for user" means you aren't logged in as a user with enough privileges to create a new admin user. Do you know the password for 'mysql' or 'root' to log into mysql?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top