Results 1 to 4 of 4

Thread: Uploading MySQL Database
      
   

  1. #1
    charlwillia6 is offline Members
    Join Date
    Jun 2005
    Posts
    17

    Default Uploading MySQL Database

    I have just FTP'd my entire CMS site to my public_html folder. Now I need to upload my already existing MySQL database that resides on my local computer to my folders and then make sure my site points to my database and also make sure that all my files are configured to work on my webhosting. Since everything was setup to run from C:\Wamp\www\xxx\index.php, I need to make sure that everything is set up correctly. Right now I only have one database to upload for this site. Can you give me some detailed instructions on how to set this all up, or point me in the right direction? Thanks.

    Charles

  2. #2
    charlwillia6 is offline Members
    Join Date
    Jun 2005
    Posts
    17

    Default

    Quote Originally Posted by charlwillia6
    I have just FTP'd my entire CMS site to my public_html folder. Now I need to upload my already existing MySQL database that resides on my local computer to my folders and then make sure my site points to my database and also make sure that all my files are configured to work on my webhosting. Since everything was setup to run from C:\Wamp\www\xxx\index.php, I need to make sure that everything is set up correctly. Right now I only have one database to upload for this site. Can you give me some detailed instructions on how to set this all up, or point me in the right direction? Thanks.

    Charles
    Well, I have tried to just add a new database and then upload the sql textfile I exported through phpmyadmin on my local computer here. But I get an error everytime I try to get the database to query the txt file. I get the following from phpmyadmin:

    MySQL said:
    #1064- You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate latinl_general_ci NOT NULL default 'banner', 'name'

    So, first of all, I am not sure I am even doing this right. Isn't there an easier way to upload a full database that I already have on my computer?

    Second of all, if this is the right way, I need to know and have someone help me get past the errors here, because it will not load my tables. Thanks in advance.

    Charles

  3. #3
    charlwillia6 is offline Members
    Join Date
    Jun 2005
    Posts
    17

    Default Instead of Waiting...

    I decided to just do a fresh install of my CMS and I built a database in the MySQL manager before hand. I figure I can just reinstall all my add-ons to my site. However, I would like to know more about moving sites and databases over from your local development platform (PC at Home), to the webhost. I did not ever get my MySQL database to be accepted and there was way too much configuration within the php files for me to feel confortable with it.

    Thanks.

  4. #4
    charlwillia6 is offline Members
    Join Date
    Jun 2005
    Posts
    17

    Default

    bump

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. mySQL.... what is it about?? Help
    By sufian in forum mySQL & PHP
    Replies: 10
    Last Post: 07-24-2008, 10:18 AM
  2. MYSQL database
    By Remco in forum mySQL & PHP
    Replies: 3
    Last Post: 10-24-2005, 09:28 AM
  3. Can I connect to MySQL database?
    By fun-colorado-family-hikes in forum General Support Issues
    Replies: 0
    Last Post: 09-22-2005, 11:52 PM
  4. creating database
    By sufian in forum General Support Issues
    Replies: 1
    Last Post: 09-20-2005, 07:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49