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!


LVL 8
a0k0a7Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
zephyr_hex (Megan)DeveloperCommented:
if you prefer to use stsadm, you can do it this way:
http://tillgroos.wordpress.com/2011/02/24/move-a-content-database-from-sharepoint-foundation-to-an-other-sql-server/

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.)
0
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!

0
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.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.