473,699 Members | 2,698 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 6236
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.1 68.1.%' identified by
'password';
Aug 17 '05 #2
On Wed, 17 Aug 2005 19:55:39 GMT, Aggro <sp**********@y ahoo.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.1 68.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
1717
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 LAN, and approx. 10% is down at working hours, pinging each host at a time from cycle is VERY slow solution. I did: retv = os.popen('ping -c 1 ' + ip + ' |grep \"1 packet\" |awk \'{print $4}\'')
1
1826
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 NOW HAVE: depts.intra.domain.com www.intra.domain.com
0
3009
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 that are "live" and must go through our proxy server. The problem is I cannot find a configuration that works for both. I am trying to load an xmldoc using XMLDocument.Load(url)
0
1126
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 site (the one that is x:\inetpub\wwwroot. I need it to go to another web site. Each web sites use different ips and some use host header names. Is there a way to specify the site to release to not a virtual directory. I need it to go to a site.
1
2073
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 little trouble recreating this locally so was wondering where I can information about when, why and how IIS/ASP.NET will spawn new instances of ASPNET_WP.EXE so that I can gain an insight into why this is happening on our server.
9
5258
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 be able to move to a record in subform1 and have the corresponding records in subform2. Similar to the Customers Order form in the Northwind db. My problem is getting the second subform to work. The parent-child link is set to subform1. I...
6
3989
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 string UID; public string PWD; }
25
3866
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 server, even though its not that bandwidth intensive. (30kps on a 100Mbps line) Process resource at 20% max. I would like to know if anyone knows what is causing this problem. What command in c# can I use to assign the service a different IP to...
18
2351
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 list four domains all of which have the phpinfo.php file in their root directories. However, only one of them has working PHP. What am I doing wrong? http://www.lyricvault.com/phpinfo.php http://www.paynephotos.com/phpinfo.php
0
8704
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8623
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9054
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8939
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7778
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6545
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5879
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4390
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4637
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.