473,325 Members | 2,870 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

User that can connect from any host?

Epi
I'm been looking for a way around this. There doesn't seem to be, but I'm
hoping someone here knows.

It seems to have to add a user to the mysql.users table for each HOST they
want to connect from.

Well, we have a few users (admins) who access the company DB from home and
they have dynamic IP addresses (dialup or DSL.) Is there any way to add a
user once to the DB who will be able to connect from ANYWHERE. I've tried *
or a blank entry for the HOST field, to no avail. Or can a ip range, like
123.124.125.* or 123.124.*.* be some how entered?

Thanks for any help.

--
P.D.
Jul 19 '05 #1
2 13420
Epi wrote:
I'm been looking for a way around this. There doesn't seem to be, but I'm
hoping someone here knows.

It seems to have to add a user to the mysql.users table for each HOST they
want to connect from.

Well, we have a few users (admins) who access the company DB from home and
they have dynamic IP addresses (dialup or DSL.) Is there any way to add a
user once to the DB who will be able to connect from ANYWHERE. I've tried *
or a blank entry for the HOST field, to no avail. Or can a ip range, like
123.124.125.* or 123.124.*.* be some how entered?


If adding new users with grant you can say:

username@'%'

or

username@'192.168.1.%'

So propably your problem is that you were using * instead of %

Jul 19 '05 #2
Epi wrote:
I'm been looking for a way around this. There doesn't seem to be, but I'm
hoping someone here knows.

It seems to have to add a user to the mysql.users table for each HOST they
want to connect from.

Well, we have a few users (admins) who access the company DB from home and
they have dynamic IP addresses (dialup or DSL.) Is there any way to add a
user once to the DB who will be able to connect from ANYWHERE. I've tried *
or a blank entry for the HOST field, to no avail. Or can a ip range, like
123.124.125.* or 123.124.*.* be some how entered?


If adding new users with grant you can say:

username@'%'

or

username@'192.168.1.%'

So propably your problem is that you were using * instead of %

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jordy | last post by:
Environment: Sun servers running solaris 2.8 Php 4.3.6 Apache 1.3.29 Mysql 4.1.1 phpMyAdmin 2.6.0-alpha1 phpAds 2.0 PhpMyadmin and phpAds don't succeed to connect the MySql database when
4
by: Bruce A. Julseth | last post by:
My MySQL.user table (user, host, password) looks like the following: +---------+-----------+---------------------+ | user | host | password |...
1
by: Mark F | last post by:
What is the best way to ensure that a user who is entering your application can only come to it through a particular server. We were using a tomcat filter to check the refer string, parsing out...
1
by: Benson, John | last post by:
Hi, I'm a non-Oracle guy just starting to use Python to explore Oracle. I enclose the Python command prompt log for the usage example further down with only the user, password and host names...
2
by: bender | last post by:
Hi. Sorry if this is an old question, but.... i have a table that includes an e-mail address in a query, i would like to create two columns with expressions for the hostname and the username....
1
by: John DeSoi | last post by:
Is there a mechanism to execute a function after the user connects to the database? I would like to set the schema path based on the user's group membership. It would also be nice to log to a table...
2
by: Mondal | last post by:
Hi, I am using MySQL 5.0 beta and Active Python 2.4. I have the correct version of MySQLdb installed. The problem is that I can't connect to MySQL through the Active Python interactive window. ...
1
by: marko_rakic | last post by:
Im just made one application in VB... one kind of pos system... I use MS Access 2003...My question is if I run this application twice and have to users start this applicaton and read, write and...
2
by: mmr315 | last post by:
this is the code i had written in php to connect to mysql ======================================== <? php class Database { var $database_name; var $database_user; var...
3
by: likigoldenstar | last post by:
Hi, I have some problem in developing program using PHP. I 'll explain my platforms: I use appserv-win32-2.5.9 as a app server. In the server, mysql client version is 5.0.37 Problems:
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.