grant ALL ON DB.* to 'user'@'UNIX BOX IP' identified by 'password' #### use DBI; $dbh = DBI->connect("DBI:mysql:host=IP ADDRESS;database=$dbname","username","password");