Skip to main content

how to connect to Ms access (*.mdb ) with php .

Comments

5 comments

  • cPRex Jurassic Moderator
    Hey there! There isn't a supported way to use an MS Access database file on a cPanel system. If you had that file setup remotely on an Access database server you could connect remotely, but you would need a database service running to process that file - having the .mdb file is not enough to be able to use it.
    0
  • drihem
    thanks. but the (mdb) file is used for read data (select only ) no modification .
    0
  • cPRex Jurassic Moderator
    The issue is that there aren't any tools available on the cPanel side to access that database file. EVen though you have the file, you still need a database interpreter to fun those. For example, you may have data in /var/lib/mysql/database_name/table.MYD but you won't be able to make any queries to it unless it's set up in an active database and MySQL can query it. The same is true for the Access database file - there needs to be a database system on the server that can read and interpret that.
    0
  • drihem
    thanks. I try to migrate data from Access to MySQL .:)
    0
  • cPRex Jurassic Moderator
    That sounds like the best way to move forward!
    0

Please sign in to leave a comment.