473,382 Members | 1,147 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,382 software developers and data experts.

how can I use a subnet mask to limit

Hello, mysql,

I have met a problem. Look at the following, please.

mysql> grant all on school.* to li****@202.204.12.0/24 identified by "win123";
ERROR 1064: You have an error in your SQL syntax near '/24 identified by "win123"' at line 1

I just want to limit liuxin from some limit hosts to access the mysql server. Please tell me what I should do. Thanks.

Best regards,

Liu Yang
li****@bupt.edu.cn
2003-07-22

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/my***********...ie.nctu.edu.tw

Jul 19 '05 #1
0 2397

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

Similar topics

0
by: Chandrashekar Tippur | last post by:
Pros, I was wondering if there is a API for generating ip address range from a given subnet mask (VLSM). Thanks, Shekar
0
by: Pierre Rouleau | last post by:
Hi all, socket.gethostbyname_ex(socket.gethostname()) will return the list of IP addresses on a the local host. I did not find any function that can be used to get the subnet mask and default...
0
by: Liu Yang | last post by:
Hello, mysql, I have met a problem. Look at the following, please. mysql> grant all on school.* to liuxin@202.204.12.0/24 identified by "win123"; ERROR 1064: You have an error in your SQL...
6
by: ohynes | last post by:
hey newbie here wondering if there is anyone out there who can help me im trying to make a c# subnet calulator using the IPAddress class i cant seem to figure out how to do all the subnet...
1
by: Glenn M | last post by:
I know how i can use request.userhostaddress to get the requesting ip address. is their any way i can get the requesting clients subnet mask also?
3
by: JamesB | last post by:
Hmm, this doesn't seem to work. I am probably tackling it completely the wrong way, but basically I want a function to receive two IP's and a subnet mask and return True if IP1 and 2 are on the...
2
by: Terry Olsen | last post by:
I am using VB 2005. I can't seem to find a way to get my local Subnet Mask. The only thing mentioned from googling is the GetIpAddrTable API, but so far, i've had no luck getting a call to it...
5
by: wright.brandt | last post by:
I am new to programming in C. If my question is not appropriate for this newsgroup I apologize. I Have been tasked with writing a small application to do some back end processing in C and have had...
2
by: nussu | last post by:
Hi , I need to find a subnet mask number for a given IP Address number. I have two textbox's once enter the ip address in first textbox i need to get subnet mask number for that ip address in...
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.