|
-
Jan 9th, 2001, 02:11 PM
#1
Thread Starter
Fanatic Member
MySql is running on my linux box, but, i cannot connect to it from PHP.
also I telnet into port 3306 and it says
host 'linuxserver' is not allowed to connect the is MySql serverConnection
any help!
Kurt Simons
[I know I'm a hack but my clients don't!]
-
Jan 11th, 2001, 04:05 PM
#2
Monday Morning Lunatic
In your MySQL permissions table, does a remote user - host "%" - have permission to connect?
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jan 11th, 2001, 07:09 PM
#3
Thread Starter
Fanatic Member
Help!!!
explain more
command line...
Kurt Simons
[I know I'm a hack but my clients don't!]
-
Jan 12th, 2001, 01:21 PM
#4
Monday Morning Lunatic
Database: mysql
Table: user
Each of the items in that table is a user and a host, along with the permissions of what they can/can't do. You need to make sure that there is an entry for your username and host along with the permissions.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jan 13th, 2001, 10:04 AM
#5
Thread Starter
Fanatic Member
Localhost is there with user root
my computer name is linuxserver
should it be there?
how can I add to this db.
I can't simple add a record because the password in encrypted.
how can I add a line that will allow anyone to access any db on my system if the connection comes from my computer
thanks
Kurt Simons
[I know I'm a hack but my clients don't!]
-
Jan 13th, 2001, 10:38 AM
#6
Monday Morning Lunatic
You can add a record via SQL using the PASSWORD('string') function.
Something similar to:
Code:
INSERT INTO user VALUES('%', 'username', PASSWORD('pass'), 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y');
Obviously change the permissions to what you want.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jan 13th, 2001, 05:32 PM
#7
Thread Starter
Fanatic Member
OK GOOD!!!!!
Thanks Much!!
time to play
- kurt simons
Kurt Simons
[I know I'm a hack but my clients don't!]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|