mySQL phpmyAdmin gurus - HELP!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Amputate Your Head
    There can be only one
    • Aug 2001
    • 39075

    #1

    mySQL phpmyAdmin gurus - HELP!

    if there's anyone that knows this shit.... I'm exporting my table data from an active db to text files and importing them into a new db, but when I try to import, the fucking delimiters are wrong or something and the data is getting scrambled into the wrong fields... anyone that can help..... please do.... ;-)

    ICQ: 128198800
    SIG TOO BIG
  • Amputate Your Head
    There can be only one
    • Aug 2001
    • 39075

    #2
    better yet, is there any way to do the whole fuckin' db at once, or does it hafta be done one table at a time?
    SIG TOO BIG

    Comment

    • Barry Porn
      Confirmed User
      • Oct 2001
      • 257

      #3
      mysqldump -uUsername -p dbname > dbname.sql Export

      mysql -uUsername -p dbname < dbname.sql Restore



      Originally posted by Amputate Your Head
      better yet, is there any way to do the whole fuckin' db at once, or does it hafta be done one table at a time?

      Comment

      • Amputate Your Head
        There can be only one
        • Aug 2001
        • 39075

        #4
        as good as that looks, can you elaborate on it somewhat Barry?
        SIG TOO BIG

        Comment

        • mika
          Confirmed User
          • Sep 2001
          • 1561

          #5
          didn't you try format c: ?

          Comment

          • Barry Porn
            Confirmed User
            • Oct 2001
            • 257

            #6
            You need Telnet/SSH access to run those commands.

            That will backup the database in question, and restore it exactly as is.

            Or if you have 'Webmin' you can easily dump your database from there as well and restore it.

            What are you trying to do?

            Migrating your data from one server to the other?

            Comment

            • Dopy
              Confirmed User
              • Feb 2001
              • 1572

              #7
              What are you using to export to flat files and where are the flat file records going to

              Comment

              • Amputate Your Head
                There can be only one
                • Aug 2001
                • 39075

                #8
                Originally posted by Barry Porn
                Migrating your data from one server to the other?
                exactly
                SIG TOO BIG

                Comment

                • Barry Porn
                  Confirmed User
                  • Oct 2001
                  • 257

                  #9
                  Do you have Telnet/SSH access?


                  Originally posted by Amputate Your Head

                  exactly

                  Comment

                  • Amputate Your Head
                    There can be only one
                    • Aug 2001
                    • 39075

                    #10
                    Originally posted by Dopy
                    What are you using to export to flat files and where are the flat file records going to
                    Was trying to use that wretched phpmyAdmin and shoot 'em into csv delimited text files.... some worked fine while others just trash the damn tables....
                    SIG TOO BIG

                    Comment

                    • Dopy
                      Confirmed User
                      • Feb 2001
                      • 1572

                      #11
                      I use this here on a local win SQL server

                      http://www.gossamer-threads.com/scri...lman/index.htm

                      Comment

                      • Amputate Your Head
                        There can be only one
                        • Aug 2001
                        • 39075

                        #12
                        Originally posted by Barry Porn
                        Do you have Telnet/SSH access?


                        I do on one server but not on the other....
                        SIG TOO BIG

                        Comment

                        • Ludedude
                          Suck it!
                          • Jun 2001
                          • 4432

                          #13
                          I can fix you in a week

                          Comment

                          • Amputate Your Head
                            There can be only one
                            • Aug 2001
                            • 39075

                            #14
                            I got Mascon, which works from one db to another here, but not from here to there.... fucking aggravating shit.

                            fuck it... I'm formatting c:
                            SIG TOO BIG

                            Comment

                            • mika
                              Confirmed User
                              • Sep 2001
                              • 1561

                              #15
                              Life sucks, wife doesn't!

                              Comment

                              • RK
                                Confirmed User
                                • Aug 2001
                                • 868

                                #16
                                AMP, msg me on ICQ, I'll be happy to help you.
                                Does anyone look down here?

                                Comment

                                • Amputate Your Head
                                  There can be only one
                                  • Aug 2001
                                  • 39075

                                  #17
                                  Originally posted by RK
                                  AMP, msg me on ICQ, I'll be happy to help you.
                                  I love you man.
                                  SIG TOO BIG

                                  Comment

                                  Working...