SQL Server 2005 Express Edition: A cautionary tale
Takeaway: Arthur Fuller recounts his less-than-smooth installation of SQL Server 2005 Express Edition and offers a few suggestions based on what he learned along the way.
Like thousands of developers, I eagerly downloaded SQL Server 2005 Express Edition mere moments after receiving an e-mail from Microsoft. Unfortunately, after installing it on my development box, I realized that I had a mess on my hands. Hopefully, by sharing my experience with SQL Express, I may shed some light on what other developers might be going through with this installation. (Note: This article is not a panacea. I have yet to figure out the myriad of things that went wrong with my installation. I suggest that you take every possible care to recover from your installation.)
First, I'll outline the particulars of my setup:
- My dev box runs Windows 2003 Server, with all patches dutifully applied.
- The SQL installation thereupon has all the patches dutifully applied.
- My installation is Custom, since I do not like to place programs and data upon the same drive. I have several drives, but the case in point uses c:\ as the programs drive and f:\ as the data drive. (It's an old habit acquired from the days of DOS—programs on one drive, data on another.)
A rundown of the course of events
- I install SQL Server 2005 Express Edition.
- Everything fails: the old stuff (my rock-solid working installation of SQL 2000 with a dozen databases) and the new stuff.
- I un-install SQL Express and reboot.
- My attempt to run SQL 2000 fails.
- I un-install SQL 2000 (along with Analysis Services and English Query) and reboot.
- I re-install SQL 2000 on Windows Server 2003 and immediately get this message "does not support — you must install SP3."
- I install SP3 and reboot.
- SQL 2000 is running successfully! But to guarantee the safety of my existing databases, I choose a new directory as the base data directory.
- I copy several MDF files from the previous directory to the new directory, and then I run "sp_attach_single_file_db" against each one in succession. (If you don't know what this means, open BOL and search for that procedure name.)
- The newly installed instance of SQL 2000 recognizes the newly attached databases and I was back in business.
- I install SQL Express on a box that passes the minimum hardware and software requirements but contains no previous SQL installation and nothing of consequence.
- Success! Everything is once again intact, and SQL Express has her own sandbox in which to play, which risks nothing I cherish.
My suggestions for installing SQL Express
This was not fun. If you plan on installing SQL Express betas, do not install it on a box whose databases matter. And before installing it, I strongly advise you to back up everything concerning SQL Server 2000 that you consider even vaguely important. I also think it would be wise to do all of this on a weekend, since you may need the extra time to recover.
If you've installed SQL Express, I'd love to hear about your experience, so please relay your thoughts on the process in the article discussion.
TechRepublic's free SQL Server newsletter, delivered each Tuesday, contains hands-on tips that will help you become more adept with this powerful relational database management system. Automatically subscribe today!
Print/View all Posts Comments on this article
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
White Papers, Webcasts, and Downloads
- Five Steps to Determine When to Virtualize YourServers VMware Thinking of virtualizing the servers at your company? Use this step-by-step guide to determine when's the best time to make your big move. Download Now
- Building the Virtualized Enterprise with VMware Infrastructure VMware This paper explains how adopting a virtual infrastructure -- comprised of server, storage, and networking virtualization technologies -- can help your organization build a sustainable competitive ... Download Now
- The True Costs of Virtual Server Solutions VMware Discover ways to streamline and simplify your assessment of the total acquisition costs of a server virtualization environment. Download Now
- Building the Virtualized Enterprise with VMware Iinfrastructure VMware VMware virtualization software has been adopted by over 120,000 enterprise ... Download Now
- The Scalable Enterprise: VMware ESX Server on the Dell PowerEdge 6650 Dell This paper introduces the server virtualization software, VMware ESX ... Download Now
Article Categories
- Security
- Security Solutions, IT Locksmith
- Networking and Communications
- E-mail Administration NetNote, Cisco Routers and Switches
- CIO and IT Management
- Project Management, CIO Issues, Strategies that Scale
- Desktops, Laptops & OS
- Windows 2000 Professional, Microsoft Word, Microsoft Excel, Microsoft Access, Windows XP,
- Data Management
- Oracle, SQL Server
- Servers
- Windows NT, Linux NetNote, Windows Server 2003
- Career Development
- Geek Trivia
- Software/Web Development
- Web Development Zone, Visual Basic, .NET

