hi! i downloaded dbf2mysql but i have small problem...
when i run command prompt (i have win xp) and try to convert dbf database to mysql i use this command line:

dbf2mysql dbf_db.dbf, mysql_db, 1, 1, 0, 0

after that windows run that dfb2mysql program in GUI and he asks me for hostname, port and that stuff... usually in php i use this for connection to database:

@mysql_connect(":videoteka-luma.hr/var/lib/mysql/videoteka-luma_hr", "username", "password") or die("check connection");
@mysql_select_db("videoteka-luma_hr") or die("check database");

when i put that stuff in that dbf2mysql it looks like this:
host name: videoteka-luma.hr/var/lib/mysql/
port: 3306
database: videoteka-luma_hr
username: username
password: password

and that won't work!!!

i tried millions of combinations to write into hostname field (like :videoteka-luma.hr/var/lib/mysql/, videoteka-luma.hr/var/lib/mysql/videoteka-luma_hr, www.videoteka-luma.hr/var/lib/mysql/, mysql.videoteka-luma.hr/var/lib/mysql/ etc...) but error is always same:

Error connecting to database: Unknown MySQL Server Host (videoteka-luma.hr/var/lib/mysql/) (0)

why is this happening? and what am i doing wrong all the time?!?!

thanks!

    6 days later

    come on! PLEASE help me i need that answer!!! please tell me if i wasnt clear enough!

    THANKS!

      Write a Reply...