473,326 Members | 2,113 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,326 software developers and data experts.

Allowing multiple hosts...

Hello All,

I am creating a vb.net app that conncects to mysql with the corelabs
provider. This app will be deployed on our intranet. My question is
this: Do I have to create different user for each host? For example,
my ip range is 192.168.1.*. Can I create one user with this host
"Range" and allow them to connect. If so, how do I accomplish this.

Thanks in Advance,

Daniel

Aug 17 '05 #1
3 6218
wink martindale wrote:
I am creating a vb.net app that conncects to mysql with the corelabs
provider. This app will be deployed on our intranet. My question is
this: Do I have to create different user for each host? For example,
my ip range is 192.168.1.*. Can I create one user with this host
"Range" and allow them to connect. If so, how do I accomplish this.


GRANT ALL ON databasename.* TO username@'192.168.1.%' identified by
'password';
Aug 17 '05 #2
On Wed, 17 Aug 2005 19:55:39 GMT, Aggro <sp**********@yahoo.com>
wrote:
wink martindale wrote:
I am creating a vb.net app that conncects to mysql with the corelabs
provider. This app will be deployed on our intranet. My question is
this: Do I have to create different user for each host? For example,
my ip range is 192.168.1.*. Can I create one user with this host
"Range" and allow them to connect. If so, how do I accomplish this.


GRANT ALL ON databasename.* TO username@'192.168.1.%' identified by
'password';


Ran a quick test, and it worked great. Thanks very much for the
help!!!

Wink

Aug 17 '05 #3
wink martindale wrote:
Hello All,

I am creating a vb.net app that conncects to mysql with the corelabs
provider. This app will be deployed on our intranet. My question is
this: Do I have to create different user for each host? For example,
my ip range is 192.168.1.*. Can I create one user with this host
"Range" and allow them to connect. If so, how do I accomplish this.


mysql> GRANT ALL PRIVILEGES ON database.* TO 'newuser'@'192.168.1.%'
IDENTIFIED BY 'password';

I can't find how to do an equivalent thing in the MySQL Administrator
GUI tool.

Regards,
Bill K.
Aug 17 '05 #4

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

Similar topics

2
by: Serge A. Ribalchenko | last post by:
Hi all, I'm new in python coding... Can someone point me how can I do such a usual thing? I need to ping some hosts, and harvest results in one list. Just cause there is about 120 hosts in the...
1
by: nomad7 | last post by:
Hi, This my problem, we are migrating our intranet from IIS5 to IIS6 an have decided to split various sections of the intranet to seperat domain hosts, e.g. we had: www.intra.domain.com BUT...
0
by: David Swanson | last post by:
I am trying to configure the proxy section of the machine.config to handle BOTH connecting to hosts that are not "live" but rather defined in my winnt/system32/drivers/etc/hosts file. AND to hosts...
0
by: joshua drew | last post by:
I have multiple .Net web apps that live on a web server that hosts multiple .Net sites. I want to use the Web Application Installer but it looks like it installs the web app in the default web...
1
by: Ben Fidge | last post by:
Hi, Our hosting company recently shut-down our site because of the resources it was using on a co-hosted server. Apparently, it was spawning multiple instances of ASPNET_WP.EXE. I'm having a...
9
by: Ecohouse | last post by:
I have a main form with two subforms. The first subform relates to the main form using an identity key (this works). The second subform relates to both the main and first subform. But I want to...
6
by: Joseph Geretz | last post by:
I have the following class which I am serializing and passing back and forth between my Web Service application and the client. public class Token : SoapHeader { public string SID; public...
25
by: Fred | last post by:
Our server has 8 IPs with 121.232.21.1 as default (example). I wrote a windows service that downloads podcasts (mp3s) off the net. However every time this service runs it clogs down the entire...
18
by: BDE Consulting | last post by:
I am going crazy. This has been a problem now for over a year and I have yet to figure out what is causing it. I have a single server that is running multiple domains. For this example I will...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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: 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: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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

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.