web designer in austin

Austin Web Designer

This blog will document mistakes and solutions to problems I encounter while designing websites

Database Transferred But Its Not Being Read

Databases 6 Comments

So I was working with a database driven website, I transferred correctly from the server to work on it on my computer, and I knew it was correct because I checked the mySQL files on both the server and local installation and they looked exactly  the same at first. The problem I had was that, when I installed the CMS system in my computer to work on it, the CMS would work as a fresh install. But the files that I transferred such as web pages and work were not being read. I  reinstalled it many times thinking It was a problem with local files, and even reinstalled my local server.

But the real problem was in the mySQL files, the local installation was reading the mySQL but not the tables I wanted it to read. It was reading table fields from the fresh  mySQL installation those table fields had no prefix, the ones I transferred had a prefix on them so they were  just being ignored. After a few days of frustration, I opened the mySQL file both files side by side went line by line and with a little luck and help I noticed the difference. I just erased the table fields from the fresh install and replaced it with the modified table fields I wanted to use, modified as in the prefix erased. Thats how I solved a database transfer  problem, I am sure there are better ways of doing it but for now I know of one thing to look out for when transferring databases.


About

Welcome to my blog, I am hector, I like to help people with their websites, primarily on the austin and central texas area.This blog is to document, some common errors I experience while working on websites. And hopefully will be of use to someone when they are working on something similar to it. If you have any questions about what I post, feel free to send me a message. Thanks and Enjoy

Category

Archives

Recent Posts

Recently Commented

Recent Comments

  • Burton Haynes: The iPhone battery sucks, I can just about get 8 hours usage...
  • murerstillads: Its Pleasure to go through your weblog.The above content art...
  • Celebrity Diet Pills: Definitely agree with exactly what you wrote. Your explanati...
  • Matt Kilsner: I would like to stay in touch, What is your facebook page?...
  • zulutrade: I was very pleased to discover this website.I needed to than...