Sharepoint 2010, SQL2008 Express & SQL2008R2 express same box

During the installation of SharePoint 2010 I selected the Standalone setting, prior to install SharePoint I had on the box SQL 2008R2 express edition but it seems after SharePoint got installed it also installed the SQL2008 Express edition and used this version as the database server instead of the SQL2008R2.

I would like to know if there's a way to move these databases created during the SharePoint installation to the SQL2008R2 instance and completely remove the SQL 2008 express edition instance without having any ill effects on the SharePoint Environment.

The SharePoint environment has been up for over a week, there is not a lot of content but we deployed some project plans on the Project Server add on to SharePoint 2010. I wonder if the only solution is to reinstall SharePoint without the Standalone setting even that the SQL2008R2 instance is on the same box.

Any ideas on how I can fix these issues are greatly appreciated it. Thanks!

Who is Participating?
zephyr_hex (Megan)DeveloperCommented:
in central admin, remove the association of your databases.  this will not delete the databases themselves, but "unlinks" sharepoint from them.

detach the databases from Express.
attach them to R2

uninstall sharepoint
reinstall sharepoint as Farm / Advanced, and point it to your R2 sql instance.
add your previous sharepoint db's to central admin configuration

zephyr_hex (Megan)DeveloperCommented:
if you prefer to use stsadm, you can do it this way:

in your case, you're not moving the ldf / mdf to a different server. however, you may wish to move them to a different path on the server (assuming sharepoint has put them in the Express installation path and not the R2 installation path.)
a0k0a7Author Commented:
So if do the steps you described on the 1st comment I wont loose any data on the SharePoint sites or PWA sites?

I will read the link you pasted and check how i can proceed. I keep posted. Thanks!

zephyr_hex (Megan)DeveloperCommented:
no, you won't lose any data.  however, it's probably best to go ahead and do a complete farm backup before you start.

also, i'm not sure about PWA config or databases.  but sharepoint should not complain about using the config databases you have, especially since it's on the same server as before.

also, in the article i posted, they don't mention that you need to uninstall & reinstall sharepoint.  you will need to do that step... at the same point where the article says to move the mdf / ldf files.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.