Raised This Month: $32 Target: $400
 8% 

Adding admins using Mysql Tutorial...


Post New Thread Reply   
 
Thread Tools Display Modes
CubicVirtuoso
Senior Member
Join Date: Sep 2004
Location: Canada
Old 07-22-2005 , 04:15  
Reply With Quote #11

I dunno if im beating a dead forum post here but I just searched and found this. I have my MySQL database all setup at least how I think it should be setup... I had to create the tables in the command line.

But when I start the server or... when I try to connect with MySQL CC it gives me this error:


[AMXX] SQL error: can't connect: 'Access denied for user 'admin'@'localhost' (using password: YES)'

Now.... i've tried other ips such as my internal ip for this box... 127.0.0.1... my external ip and none of them seem to work. I followed the tutorial above to the T using admin and password as password.

Any help would be great.
CubicVirtuoso is offline
Send a message via ICQ to CubicVirtuoso Send a message via AIM to CubicVirtuoso Send a message via MSN to CubicVirtuoso Send a message via Yahoo to CubicVirtuoso
WaZZeR++
Veteran Member
Join Date: Mar 2005
Location: Sweden
Old 07-22-2005 , 07:49  
Reply With Quote #12

try user root and no password....
WaZZeR++ is offline
Send a message via MSN to WaZZeR++
CubicVirtuoso
Senior Member
Join Date: Sep 2004
Location: Canada
Old 07-22-2005 , 13:25  
Reply With Quote #13

L 07/22/2005 - 12:24:22: [MYSQL] DB Connection failed(1045): Access denied for user 'root'@'localhost' (using password: NO)

Any other ideas
CubicVirtuoso is offline
Send a message via ICQ to CubicVirtuoso Send a message via AIM to CubicVirtuoso Send a message via MSN to CubicVirtuoso Send a message via Yahoo to CubicVirtuoso
WaZZeR++
Veteran Member
Join Date: Mar 2005
Location: Sweden
Old 07-22-2005 , 14:47  
Reply With Quote #14

you must config your sql server so it allows connections form user root with ip 127.0.0.1
WaZZeR++ is offline
Send a message via MSN to WaZZeR++
CubicVirtuoso
Senior Member
Join Date: Sep 2004
Location: Canada
Old 07-22-2005 , 14:52  
Reply With Quote #15

Woot!!! Thanks man I got connected.

But now I got another problem:


L 07/22/2005 - 13:59:44: [MYSQL] DB Connection failed(1251): Client does not support authentication protocol requested by server; consider upgrading MySQL client
[AMXX] SQL error: can't connect: 'Client does not support authentication protocol requested by server; consider upgrading MySQL client'

I just dled mysql yesterday and I'm pretty sure I got the newest client.

Heres what it says under my sql status thingy:

Port: 3306
Server Version 4.1.13-nt via TCP/IP
Version: Client version 5.0.4
CubicVirtuoso is offline
Send a message via ICQ to CubicVirtuoso Send a message via AIM to CubicVirtuoso Send a message via MSN to CubicVirtuoso Send a message via Yahoo to CubicVirtuoso
WaZZeR++
Veteran Member
Join Date: Mar 2005
Location: Sweden
Old 07-22-2005 , 15:07  
Reply With Quote #16

i think you need to give user root ful access to the database...
WaZZeR++ is offline
Send a message via MSN to WaZZeR++
CubicVirtuoso
Senior Member
Join Date: Sep 2004
Location: Canada
Old 07-22-2005 , 20:06  
Reply With Quote #17

how do i go about in doing that?
CubicVirtuoso is offline
Send a message via ICQ to CubicVirtuoso Send a message via AIM to CubicVirtuoso Send a message via MSN to CubicVirtuoso Send a message via Yahoo to CubicVirtuoso
Siessen
Junior Member
Join Date: May 2004
Old 10-29-2005 , 01:11  
Reply With Quote #18

could any one explain how i can add users with phpmyadmin?

i've got mysql-module connected to mysql-server with adding the user under witch i run the natural selection server on with 'user'@'127.0.0.1'
I also added a database 'amxx' with phpmyadmin and amxx-sql did write admins table in it after a mapchange.
But now i just can't find how to add any admins in the table with it
I'm a noob in these things but i got sofar already and seem so close to add em
also i got some books from the bib like mysql for dummies and so to help me out a bit

but could someone explain it in a simple way please?
__________________
Siessen is offline
Send a message via AIM to Siessen Send a message via MSN to Siessen
Janet Jackson
Veteran Member
Join Date: Mar 2005
Location: far, far away from here
Old 10-29-2005 , 01:39  
Reply With Quote #19

Select your database, click on the SQL icon an paste this under Run SQL query/queries on database amxx:

Code:
INSERT INTO admins VALUES ('STEAM_0:1:1234567','password','abcdefghijklu','ce')
and click Go.
Edit to your needs, of course ;)
__________________
Janet Jackson is offline
Siessen
Junior Member
Join Date: May 2004
Old 10-29-2005 , 13:49  
Reply With Quote #20

thank you, but that's what stated in the first post, and i did do some research before i posted. when i try it this way (connecting as user; connecting to mysql; changed to db amx and finally typed it with my edits offcourse) i get the message [AMXX] No admins found ...

this is also why i want to try it thru phpmyadmin. if anyone could help her e pls
__________________
Siessen is offline
Send a message via AIM to Siessen Send a message via MSN to Siessen
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode