bosh
07-17-2007, 06:49 PM
Dear Tech Support,
I wonder if you can please give some suggestions and steps on how to go about creating a MySQL database for IP addresses.
I currently work as an IT support Officer in an academic/research institution, the raw data of IP addresses is currently stored in a file on a unix solaris server, using cmds such as ff: grep -i free mast 1.2.3.4, I currently interogate the file to assign free static IP address to a user. A Windows 2003 server acts as a DHCP server.
I've had a look at MyPHPAdmin and created 15 fields with relevant MySQL datatypes, the next step is to create a table and I've decided to use the Mac address field as the PK. I'm in a bit of a limbo as to how to proceed in moving raw IP addresses details from the unix server into a csv file and subsequently into a MySQL database. Also how and when to incorporate the php script used in converting IP addresses to IP numbers. Any form of assistance/suggestion would be highly appreciated.
Many thanks,
Ben
I wonder if you can please give some suggestions and steps on how to go about creating a MySQL database for IP addresses.
I currently work as an IT support Officer in an academic/research institution, the raw data of IP addresses is currently stored in a file on a unix solaris server, using cmds such as ff: grep -i free mast 1.2.3.4, I currently interogate the file to assign free static IP address to a user. A Windows 2003 server acts as a DHCP server.
I've had a look at MyPHPAdmin and created 15 fields with relevant MySQL datatypes, the next step is to create a table and I've decided to use the Mac address field as the PK. I'm in a bit of a limbo as to how to proceed in moving raw IP addresses details from the unix server into a csv file and subsequently into a MySQL database. Also how and when to incorporate the php script used in converting IP addresses to IP numbers. Any form of assistance/suggestion would be highly appreciated.
Many thanks,
Ben