Siebel - changing the DB name - siebel

We have a Siebel version 8.1.1. and we need to change the DB name to something else.
can you please help me to identify as to where in the Seibel server I need to make the changes to reflect the new DB name? Is there a particular config file that I need to change? The Database server and port are not going to change, only the name of the database will be changed.

This reply is a bit late but...
Above answers are about Datasource. Datasource has parameters to create connection with DB like host name, user id and psw. Database name should be part of Datasource.
For example:
- Oracle has SID in tnsnames.ora file
- Microsoft database name can be changed in ODBC Data Source Administrator
So it debends what kind of db software you use. For future I would like to suggest to use My Oracle Support Community (MOSC) because Siebel developer community is much more active there than here.

This information is clearly documented in Oracle bookshelf for Siebel. There should be a profile configuration for your Datasource.
Example:

change param datasource=<data_source_name> for compdef <object_manager_name>

Related

Wampserver "Can’t select database"

I had to reinstall Windows, and with that, reinstall Wampserver.
My MySQL data dir is in Dropbox on D:\
I've edited my.ini:
datadir=D:/Dropbox/WAMP/SQL/data
However, when I view phpMyAdmin, the original databases are not being loaded.
There's nothing specific in c:/wamp/logs/mysql.log.
When I try to load a local Wordpress site, I receive the error:
Can’t select database We were able to connect to the database server
(which means your username and password is okay) but not able to
select the steve database.
Are you sure it exists? Does the user steve have permission to use
the stevedoig database? On some systems the name of your database is
prefixed with your username, so it would be like username_stevedoig.
Could that be the problem?
Why isn't phpMyAdmin picking up the original databases present before the Windows reinstall?
Help appreciated.

Sitecore WFFM 8.2 rev. 160801 is not storing data in reporting database

I have installed Sitecore 8.2 rev. 160801 in my machine and worked on forms. On submission of form, I didn't get any error but the values are not stored in Database. In log also I didn't find any error.
I followed the post installation steps and ran the WFFM_Analytics.sql script on my reporting database.
Could you please someone help me to resolve this issue?
Thanks,
Bala
By default the WFFM data is stored in Mongo (in a collection called FormData). You should find your data there. If you want the data to be stored in SQL, you can change that by using anothor provider: https://doc.sitecore.net/web_forms_for_marketers/setting_up_web_forms/installing/use_a_custom_sql_provider_to_store_form_data
In the Web Forms for Marketers module, you can use your own SQL Server
storage location, if, for example, you would like to store form data
in a different, more secure location.
By default, the xDB data provider stores and exports data from the xDB
analyticsFormsDataProvider class. However, you can change the data
provider to a custom SQL Server database data provider, or to a
combined reporting and custom SQL Server database data provider

No data in Sitecore Experience profile

I've set up a local Sitecore environment with all sql and mongodb db's working.
Except i do not get any data in the experience profile (contacts)
I see that tracking_contact db is empty in mongo and also the analytics index folder is empty.
Other functionalities like experience analytics work fine.
Are there any extra configurations necessary?
The Experience Profile runs on the Analytics index. If there is no index, there will be no data shown.
Try to rebuild the index if it's not there.
There is an admin tool for rebuilding the reporting db & analytics index: /sitecore/admin/RebuildReportingDB.aspx
When you run the tool you must setup a secondary reporting db first.
Just attach another empty analtyics database to your local SQL and name it something like analytics_secondary and configure its connectionstring.
Then rebuild the reporting db and after that data should appear in your Experience Profile.
The index should be constantly refreshed by the aggregation framework (i.e. you should not need to rebuild) so if that is not happening, something is wrong in your configuration.
When working with xDB you'll need to identify a user to get it to appear in the experience profile section otherwise they will be anonymous.
Try using this code here to create a contact:
https://github.com/ianjohngraham/CoreBlimey.Utils/tree/master/CoreBlimey.Utils/xDB%20Contact%20Creator
And then call the end session by using the button.
If everything is setup correctly then the contact you created will appear in MongoDB and in Experience Profile.
If you are still not getting any data then you could try these things:
Ensure you have the <sc:VisitorIdentification runat="server" /> control for asp web forms layout
the #Html.Sitecore().VisitorIdentification() control for MVC layout
Make sure you disable robot detection by changing this setting <setting name="Analytics.AutoDetectBots" />
Charley,
I also had the similar problem in past, so what I found was, it was not working in my local, but when i put it stage server it shows data to me. So same may apply to you also.
Also without "#Html.Sitecore().VisitorIdentification()" in your Layout tracking is not possible.
Hope this will help you.
cheers!!

how to create and use databases (and tables) with simple Coldfusion applications while using Xampp (Guidance for Newbies)

I want to do simple CRUD operations for simple ColdFusion applications. I have simple guidelines but not deep guidance for that and it looks a little tricky for me. Anyone there who can provide a simple and detailed solution for that. Actually I have created database and tables on http://localhost/phpmyadmin/ but how can I use the database and tables in CF-Builder applications, I don't know that. If I'm missing anything else, please mention it.
Thanks,
Before someone closes this, check out this intro to CFBuilder that shows you how to connect to a database:
http://refcardz.dzone.com/refcardz/getting-started-adobe
Then go through the lessons at http://www.learncfinaweek.com/. If you've done CRUD apps in any other language, you just have to learn the CF syntax for doing the same processes.
In CFBuilder 2 and 3, there is a view, "RDS Dataview" that shows the hosts (ColdFusion servers) you've provided connection information for.
Expanding a servername shows the datasources defined in its ColdFusion Administrator. You can drill down from Server to Datasource (schema) to the tables, to the fields. You can right-click a tableName and choose RDS Query Viewer and get a query builder, much like Microsoft Accesses, if you're familiar with that.
Alternatively you can just drag and drop tablenames and fieldnames directly into your hand-crafted code to save a lot of typing.
See Adobe Docs at http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSc3ff6d0ea77859461172e0811cbec16ab8-7ff9.html
There is also a CRUD creator described on that page, that can introspect a table and produce a CRUD cfc... not cruddy!

Determine Database Type from ColdFusion Data Source

I have web site with source code in ColdFusion. How can I find out which database is used and where is database files?
Thank you!
Also, I haven't access to CF Admin.
Assuming you are using CF8 or later:
If you have the datasource (which you can see in the CFQUERY/CFSTOREDPROC) you can use cfdbinfo to get database information.
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_d-e_01.html for details.
Search through the entire codebase for instances of the tag <CFQUERY> (and additionally <CFSTOREDPROC>).
Look at the value entered into the attribute "datasource", collect them all up.
If you have access to CF Admin:
Log into the ColdFusion Administrator, navigate to Datasources, and match the datasource names with the ones you found in your search.
Examine the DSN settings. They are your databases.
If you do not have access to CF Admin:
Pass the names of the datasources to <CFDBINFO> and dump out the results (thnx to TheCycoONE)
Shawn hit it: you'll have to get into the ColdFusion Administrator's Datasource settings. Find the name of the datasource in your Application.cfm/cfc/direct in the query, then in click that DSN in the administrator. It should tell you which db (type) connector it's using, and the general location.