Solved

Shoretel SQL query in Excel

Posted on 2013-11-06
10
2,145 Views
Last Modified: 2013-11-06
ALL,

I need to connect to my shoretel database to extract data that is not in the canned reports namely the call notes field.  I'm a complete novice at SQL and need instructions on connecting to the SQL database through Excel so I can dump and sort the data.

Shoretel version 12.2
Communicator version 17+
Excel 2010

Thank you
0
Comment
Question by:1212pro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
10 Comments
 
LVL 22

Accepted Solution

by:
plusone3055 earned 400 total points
ID: 39627237
opps Shortel is a mySQL database not SQL server
use this one :)

http://office.microsoft.com/en-us/excel-help/connect-to-a-mysql-database-HA104019820.aspx
0
 
LVL 3

Assisted Solution

by:mikeyd234
mikeyd234 earned 100 total points
ID: 39627240
You will probably need a mySql connector for excel + addin, have a look at these two articles, first to setup the connector and connect to the database, second how to query. You will also need to know the database credentials & db servername

1)  http://office.microsoft.com/en-gb/excel-help/connect-to-a-mysql-database-HA104019820.aspx

2)  http://office.microsoft.com/en-gb/excel-help/import-data-from-database-using-native-database-query-HA104123758.aspx?CTT=5&origin=HA104019820

Thanks
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 3

Expert Comment

by:mikeyd234
ID: 39627245
Damn, beat me to it plusone3055 :)
0
 
LVL 22

Expert Comment

by:plusone3055
ID: 39627253
sowie I need the points.. been a slow start this month ;)
0
 
LVL 3

Expert Comment

by:mikeyd234
ID: 39627256
Pfft points, who needs them :D

I vote all points to +1  :)
0
 
LVL 22

Expert Comment

by:plusone3055
ID: 39627267
<-- wife, daughter, two puppies, cant afford the monthly fee hence why i need the points  lol
0
 

Author Comment

by:1212pro
ID: 39627632
Hello everyone,

Thank you for the quick response.  I was able to connect to the database with your help and wanted to add some additional info that will help other people with this issue.

SERVER=<The ShoreTel Director server IP address>
 DATABASE=shorewarecdr
 USER=st_cdrreport
 PASSWORD=passwordcdrreport
 PORT=4309  (Omit this to use default port if your ShoreTel version is prior to 10.2)
 (If using the archive DB, substitute server and database of the archive) - See more at: http://blog.shoretel.com/2012/12/shoretel-professional-services-custom-reports/#sthash.wZs1X8LW.dpuf

Now that I'm connected in the MySQL browser how would I make a report or query ? I see the field I need information from  SELECT c.`CallNote` FROM shorewarecdr.`call` c;  Do I need to pick different fields like start and end times?  Do I need to use Keys to link tables as in Crystal Reports?

Thank you
0
 
LVL 22

Expert Comment

by:plusone3055
ID: 39627674
It all depends on what information you need.. We will be glad to help with that. please provide an example sheet and the data that you would like to get :)


also it is customary to award points for the original question asked,  then ask another question.  that way those that answered the first question are not denied points becuase someone answers something additional you asked but not the original thread that started the question :)
0
 
LVL 22

Expert Comment

by:plusone3055
ID: 39627761
if you can give us some sample data and what data/form your looking for we can get to work on that.. start another question and we can handle that for you :)
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL several years ago, it seemed like now was a good time to update it for object-oriented PHP.  This article does that, replacing as much as possible the pr…
In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question