Help for this page

Select Code to Download


  1. or download this
    Mysql info - select * from mysql.user yields:
    host = localhost user = root password = (none)
    ...
    host = %          Db= Loader  User=apache select=Y ...
    host = localhost  Db= Loader  User=apache select=Y ...
    host = 127.0.0.1  Db= Loader  User=apache select=Y ...
    
  2. or download this
    grant select, insert, update, delete
    on Loader.*
    to testuser@localhost
    identified by 'testpass';
    
  3. or download this
    $database = "Loader";
    $hostname = "localhost";
    ...
    $password = "testpass";
    
    $dbh = DBI->connect("DBI:mysql:$database:$hostname", $user, $password)