Zip code enabling location search
I don't use the root command prompt, but I can if I have to -- never have. Mostly I execute database operations using phpmyadmin.As it is, I don't have a clue how to do this THIS WAY:To use this project, feed the location.mysql to your database. If your site
is using a prefix for database table names, make sure to adjust accordingly. mysql -u username -ppassword -h localhost database-name < modules/location/location.mysqlwhere "username", "password" are the username/loging and "database-name" are
the parameters to login to your Drupal site's database. You can leave out
"-h localhost" if your MySQL server runs on the same site as your Apache.
However, replace 'localhost' in "-h localhost" if your MySQL server is on a
different machine.IMPORTANT:
To support proximity searches and most useful features, you will need a postal codes
database for each country for which you plan to use a file from the "supported/"
directory. The database structure can be loaded from the database/zipcodes.mysql
file, and the data can be loaded from database/zipcodes.CC.mysql (where CC is the
two-letter country code).read more
- autentifică-te sau înregistrează-te pentru a adăuga comentarii





