5 replies
I copied all of the php pages from one script on my site I had designed for me.

I put them on another website of mine, and created a database and changed the settings in the php file on the additional site. However, I don't know how to actually put the database in the MSQL section of godaddy. I see where I can export as mysql - and then do I just import into the other database the same exact thing I download and it should work?

So right now I get a database error when I try to add something to the database, cause there's no tables actually in the database.

Not sure my explaination is good, it usually sucks, I apologize.
#php
  • Profile picture of the author MaxZimmer
    Doesn't your script include an installation file?

    Could you paste the exported .sql here?

    Cheers
    {{ DiscussionBoard.errors[3819118].message }}
    • Profile picture of the author ReikiGirl
      Originally Posted by MaxZimmer View Post

      Doesn't your script include an installation file?

      Could you paste the exported .sql here?

      Cheers

      Naturally I figured it out. I just exported as a file, and then imported that same file into the additional database and voila.

      I have no idea how I figure this NONSENSE out - it's truly a miracle. =)
      {{ DiscussionBoard.errors[3819249].message }}
  • Profile picture of the author diondevelopment
    Originally Posted by ReikiGirl View Post

    I copied all of the php pages from one script on my site I had designed for me.

    I put them on another website of mine, and created a database and changed the settings in the php file on the additional site. However, I don't know how to actually put the database in the MSQL section of godaddy. I see where I can export as mysql - and then do I just import into the other database the same exact thing I download and it should work?

    So right now I get a database error when I try to add something to the database, cause there's no tables actually in the database.

    Not sure my explaination is good, it usually sucks, I apologize.
    You should be using PHPMYADMIN - it has an IMPORT feature where you can select SQL files to import into your database. Ask GoDaddy if they offer PHPMYADMIN - a standard feature of CPANEL.
    {{ DiscussionBoard.errors[3821229].message }}
    • Profile picture of the author ReikiGirl
      Originally Posted by diondevelopment View Post

      You should be using PHPMYADMIN - it has an IMPORT feature where you can select SQL files to import into your database. Ask GoDaddy if they offer PHPMYADMIN - a standard feature of CPANEL.

      That's exactly where I was and exported the data table. =)
      {{ DiscussionBoard.errors[3823611].message }}
  • Profile picture of the author williamjen12
    You can not import or copy your table directly in mysql database. For that you should create new tables and import your existing data with constraint.
    {{ DiscussionBoard.errors[3850483].message }}

Trending Topics