No announcement yet.

Probably an Easy Question

  • Filter
  • Time
  • Show
Clear All
new posts

  • Probably an Easy Question

    How can I access a table on a database on another server?
    This is the situation I run php on safe mode, therefore I can't use the upload function, but I have a friend with a host that offered me to use his mysql database, so how would I connect to his database abd access a certain table from within my site on another server?


  • #2
    I don't know if this is actually possible, cause it could be a bit of a security risk if it is.
    - Insert viable disclaimer here -



    • #3
      I could be wrong here, but I think you would need to have your friend configure mysql so that you were able to access it. You would access it the same way you'd use your own MySQL db - but insert his username and info into your queries. But make sure his host allows you to do something like that.



      • #4
        Oh I see thanks for the replies, I decided that I will move from my current host, because it runs php on safe mode! So I won't be needing to access his database!
        I apologize for the delay on my reply!


        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.