Is it possible to connect to your sites database with your pc?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Darren
    Junior Member
    • Mar 2004
    • 23

    #1

    Is it possible to connect to your sites database with your pc?

    Hi is this allowed or possible?
  • Jonathan
    Senior Member
    • Mar 2004
    • 1229

    #2
    Yes and no; read here for more info:
    Question: Is direct connection to Dathorn MySQL server possible, without need to use web style admin? Answer: Yes, but... For security reasons native remote direct connection to MySQL server is disabled. So, you cannot use MySQLFront or other similar MySQL admin application to connect directly. However, since there
    "How can someone be so distracted yet so focused?"
    - C

    Comment

    • Darren
      Junior Member
      • Mar 2004
      • 23

      #3
      So I cant just use a config.php file? Darn!

      Comment

      • Skky
        Member
        • Apr 2004
        • 31

        #4
        Nope, but it isn't really as hard as it seems. I think it is worth setting up, if you plan on developing large PHP/MySQL scripts, or if you plan on making changes to a database often.

        Comment

        • Darren
          Junior Member
          • Mar 2004
          • 23

          #5
          It was so I could insert mysql info from my computer (from a script ran on my computer). Oh well

          Comment

          • Ihost
            Junior Member
            • Mar 2004
            • 22

            #6
            No you can't do it from a script on your PC direct to the database (I think).

            However you can run the script against a local copy of your database. Then do a sqldump of the database (data only if no change to structure). The upload the .sql file to your account and run it against your hosted database.

            That is after backing up of course. If you set up the SSH Port Forwarding you can use some good MySQL GUI programs on your PC to do this which works really fine.
            Kerry Slavin
            Reliable Solution Internet Services
            For the best independent support for webhosts & their customers visit -
            JointSupportForum.Com

            Comment

            Working...