Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 246801

vCenter SQL and ODBC connection Issue - Resolved

$
0
0

Hi

 

I just wanted to highlight an issue i recently stumbled accross with vCenter SQL and ODBC connectors.

 

What should be a very straight forward install had be pulling my hair out.

 

My setup is a basic one

1 Server with ESXI installed

3 VMs vCenter (VMVC) SQL (VMSQL) and VUM (VMVUM) all three VM's are clone of a template that have been syspreped etc etc

 

I installed SQL as per normal using SQL serv 2008R2 RTM , Using windows Authenication , created two databases for vCenter and VUM. Logged into my vCenter. Created my odbc connection nad they tested fine. I then ran the  and launch the vCenter installation media (5.0 build 804277) and started on vCenter selected my odbc connection. cliecked next and then i hit this error

 

===

The DB User entered does not have the required permissions needed to install and configure vCenter Server with the selected DB. Please correct the following error(s): %s


===

#The database version must be supported for vCenter Server. For SQL, even if the database is a supported version, if it is set to run in compatibility mode with an unsupported version, this error occurs. For example, if SQL 2008 is set to run in SQL 2000 compatibility mode, this error occurs.

 

http://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.install.doc_50%2FGUID-5AA32F87-270C-4171-8896-41A607F8F997.html


Hmm but i have done this literally hundred of times right ..

 

So i began to troubleshoot i check host file were good between all vm to ensure dns name resolution all was good. i double checked the permissons on the database - Administator was DBO on vCenter i had a look though the vminst file to see if i could spot anything stickout

 

all it mentioned was

 

VMware VirtualCenter-build-804277: 02/21/13 21:33:12 file size: 2193
VMware VirtualCenter-build-804277: 02/21/13 21:33:12 SQLBindCol: 0
VMware VirtualCenter-build-804277: 02/21/13 21:33:12 SQLBindCol: 0
VMware VirtualCenter-build-804277: 02/21/13 21:33:12 Failed to execute query: -1
VMware VirtualCenter-build-804277: 02/21/13 21:33:12 ODBC Error: [Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near 'go'.
VMware VirtualCenter-build-804277: 02/21/13 21:33:12 Getting Property DB_DSN_SERVER_REMOTE = 1
VMware VirtualCenter-build-804277: 02/21/13 21:33:12 errorMessage is <The DB user entered does not have the required permissions needed to install and configure vCenter Server with the selected DB. Please correct the following error(s) :
%s

 

I doubled check the vMware Software Compataibilty guideand all seemed good.

I created Some SA accounts and swicth the database into mixed Autheication mode set permisson tetsed odbc conncetors and retried - Fail

Okay maybe something got screwedup in the database during install i reinstalled as set  - Fail

I was beginning to supect the version of SQL as it WAS RTM version - i downloaded and installed SP2 and retested  - Fail

I checked VMware recommendation to changing the database compatiabilty mode  - Fail

I have a Esxi 5.1 iso hanging around i tried that and presto is wehn further than i thought finally a break through , but my client required 5.0 so this wasnt a option.

 

I then reverted back to an old builder iso that i had for 5.0 (456005) and that worked no problem - once install was complete i was able to upgrade with the new version and all went okay.

 

Anyone else stumbled across this or had simialr issue - cannott figure out why one worked and the other didnt .



Viewing all articles
Browse latest Browse all 246801

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>