From accessd at shaw.ca Wed Nov 9 10:14:43 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 9 Nov 2011 08:14:43 -0800 Subject: [dba-SQLServer] the IT market In-Reply-To: <4EB067CB.7080100@colbyconsulting.com> References: <4EB04C35.4010201@colbyconsulting.com> <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> <4EB067CB.7080100@colbyconsulting.com> Message-ID: <3A1BA62CC701425080FC90220A0FC274@creativesystemdesigns.com> As the IT, market is dramatically, changing the people here now have a chance to grade their current endeavors. http://www.techrepublic.com/blog/career/grade-your-job-it-programmer/3622?ta g=nl.e101 Jim From jwcolby at colbyconsulting.com Sat Nov 12 08:26:40 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 12 Nov 2011 09:26:40 -0500 Subject: [dba-SQLServer] New SQL Server license scheme is RADICALLLY more expensive Message-ID: <4EBE8220.8070905@colbyconsulting.com> http://sqlserverperformance.wordpress.com/2011/11/10/sql-server-2012-licensing-and-hardware-considerations/ The full retail license cost per physical core is $6874.00 for SQL Server 2012 Enterprise Edition. I cannot imagine that there will not be a huge backlash about this from clients and massive switching to MySQL and the likes. I know that I will never purchase SQL Server 2010. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From df.waters at comcast.net Wed Nov 16 09:11:12 2011 From: df.waters at comcast.net (Dan Waters) Date: Wed, 16 Nov 2011 09:11:12 -0600 Subject: [dba-SQLServer] IT Position in Minneapolis/St.Paul Message-ID: <002b01cca471$fa687070$ef395150$@comcast.net> I just talked with one of my customers this morning, and they are looking for a person to be an 'on call' IT person. This a 100 person manufacturing firm in Shoreview. If you're interested, please contact me directly. Thanks! Dan From jwcolby at colbyconsulting.com Thu Nov 17 11:29:00 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 17 Nov 2011 12:29:00 -0500 Subject: [dba-SQLServer] Setting up security in new server Message-ID: <4EC5445C.5020009@colbyconsulting.com> My client has brought up a new server which will host his Access database back ends as well as SQL Server. The old server ran Windows 2000 X32 and 4 gigs of memory. Windows 2000 only supports SQL Server 2005 due to the fact that it cannot support the .Net framework version required by SQL Server 2008. As a result I was running SQL Server 2005 Express X32 on the old server. For the moment the new server is running Windows 2003 X64 which does support the .Net framework version to support SQL Server 2008. I have installed the .net framework and SQL Server 2008 Express on the new server. I then simply disconnected the database and copied the data file. I need to move a couple of databases from the old server to the new. In the old server I had created two SQL Server users, DiscoAdmin and DiscoUser. In the new server I can set up those users in the server security / logins tab but from there I can't assign the user rights in the databases I brought over from the old server. My guess is that when I do that in the server and assign the rights for the databases, the users already exist in the database itself and so cannot be created. I am unable to delete the user in the database because it says the user "owns a schema". Sure enough the user has a couple of check boxes checked but they are grayed out and I cannot uncheck them. So how the heck to I recreate the user / password / rights stuff that was set up on the old server for these databases? Any help much appreciated. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From michael at ddisolutions.com.au Thu Nov 17 22:32:12 2011 From: michael at ddisolutions.com.au (Michael Maddison) Date: Fri, 18 Nov 2011 15:32:12 +1100 Subject: [dba-SQLServer] Setting up security in new server References: <4EC5445C.5020009@colbyconsulting.com> Message-ID: <99266C61B516644D9727F983FAFAB46511B870@remote.ddisolutions.com.au> Hi JC, I think this is the one you need. Basically when you copy a db from 1 server to another the PID? Could be different on the new server. The sproc below fixes it. C. Automatically map a user to a login, creating a new login if necessary This example shows how to use the Auto_Fix option to map an existing user to a login with the same name, or create the SQL Server login Mary with the password B3r12-36 if the login Mary does not exist. USE pubs go EXEC sp_change_users_login 'Auto_Fix', 'Mary', NULL, 'B3r12-36' Go Cheers Michael -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, 18 November 2011 4:29 AM To: Sqlserver-Dba Subject: [dba-SQLServer] Setting up security in new server My client has brought up a new server which will host his Access database back ends as well as SQL Server. The old server ran Windows 2000 X32 and 4 gigs of memory. Windows 2000 only supports SQL Server 2005 due to the fact that it cannot support the .Net framework version required by SQL Server 2008. As a result I was running SQL Server 2005 Express X32 on the old server. For the moment the new server is running Windows 2003 X64 which does support the .Net framework version to support SQL Server 2008. I have installed the .net framework and SQL Server 2008 Express on the new server. I then simply disconnected the database and copied the data file. I need to move a couple of databases from the old server to the new. In the old server I had created two SQL Server users, DiscoAdmin and DiscoUser. In the new server I can set up those users in the server security / logins tab but from there I can't assign the user rights in the databases I brought over from the old server. My guess is that when I do that in the server and assign the rights for the databases, the users already exist in the database itself and so cannot be created. I am unable to delete the user in the database because it says the user "owns a schema". Sure enough the user has a couple of check boxes checked but they are grayed out and I cannot uncheck them. So how the heck to I recreate the user / password / rights stuff that was set up on the old server for these databases? Any help much appreciated. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1411 / Virus Database: 2092/4021 - Release Date: 11/16/11 From fuller.artful at gmail.com Sun Nov 20 13:19:22 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 20 Nov 2011 14:19:22 -0500 Subject: [dba-SQLServer] SQL Server Denali/2012 Message-ID: I just downloaded SQL 2012 RC and burned the ISO to DVD. My question is this: should I remove Denali first and then install 2012, or see if there's an upgrade option? Anyone done this yet? If not, I'll report back with my results. -- Arthur Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From jwcolby at colbyconsulting.com Wed Nov 23 10:35:06 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 23 Nov 2011 11:35:06 -0500 Subject: [dba-SQLServer] Clearing the decks for MySQL Message-ID: <4ECD20BA.1060301@colbyconsulting.com> I run three VMs pretty much 24/7 here at my home office, one which I call vmDev which is my development machine, another is my Accuzip third party software vm and one final machine runs SQL Server Express for Access clients coming in over the internet. I had a dedicated server for VMs which I actually just upgraded to a new motherboard, DDR3 ram etc in preparation for the new AM3+ bulldozer processor. Given the weak performance of the new processor I am hanging out waiting for the next rev / price drops before taking that plunge. what I did do however is move all three of those VMs off onto my 16 core SQL Server machine. The only VM which truly needs much horsepower is the Accuzip VM and my performance dropped by half when I did the move. Whereas I was getting about 8-9 million records / hour on the dedicated VM Server, on Azul SQL Server machine I am lucky to get 4.5 million per hour. The difference is mostly just the core speed. The Magney-Cours server chips that I could afford run at 2.0 ghz and have ddr3 1300 memory (registered and ECC), whereas the new motherboard has DDR 1600 memory and a quad core Phenom lightly overclocked to 3.3 ghz. The additional clock speed and memory speed apparently makes for significant additional horsepower. Anyway, I have decided to take the speed hit on the Accuzip VM in order to clean off what was my dedicated VM server and use that for a MySQL machine. As servers go this machine is somewhat wimpy with 4 cores and 16 gigs of memory but for learning MySQL it should suffice. There has been a bit of interest expressed in MySQL, with some list members already using it and others trying to learn it. I count myself in the trying to learn it crowd. My intention is to go with MariaDB. Since I have Hyper-V running on this machine I am thinking about running mariaDB itself on a VM which would allow me to move the VM should I decide to keep it. I have to say I am not having a lot of luck getting a Linux distro running on a Hyper-V VM, but if I can make that happen that would be my preference. If anyone out there has experience getting a linux distro running in a Hyper-V VM running MariaDB let me know. I look forward to discussing MySQL with everyone interested in the subject. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Sat Nov 26 08:28:19 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 26 Nov 2011 09:28:19 -0500 Subject: [dba-SQLServer] Five Absolutely Essential Utilities that make Windows better - Scott Hanselman Message-ID: <4ED0F783.8000201@colbyconsulting.com> -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it http://www.hanselman.com/blog/FiveAbsolutelyEssentialUtilitiesThatMakeWindowsBetter.aspx From michael at ddisolutions.com.au Wed Nov 30 01:56:36 2011 From: michael at ddisolutions.com.au (Michael Maddison) Date: Wed, 30 Nov 2011 18:56:36 +1100 Subject: [dba-SQLServer] MySQL question Message-ID: <99266C61B516644D9727F983FAFAB46511B8E4@remote.ddisolutions.com.au> Hi Guys, I know this is slightly OT but... My client was supposed to install a 3rd party app and set it's database up as SQL Server. However events have occurred and now they have a MySQL database they want me to use! I've never used MySQL as a datasource but I'll assume it should be ok. I only have to read, no writes, which is something I suppose. I'm downloading 5.5 and the Workbench for testing here. I only have access to the clients pc with MySQL installed using TeamViewer, basically a remote desktop tool for those not on the domain. When I look at the 3rd party apps options page the database stuff IS NOT SETUP. How can I tell if the database is in fact installed? Only the command line client is installed. I REFUSE to do any installations of tools on their PC... Is there a simple way to backup their database (if it exists) and then load it here? They only gave me the password to MySQL. Which does work in the command line tool, not that I know what to do with it :-/ Sorry for the OT. Cheers Michael M From fuller.artful at gmail.com Wed Nov 30 12:34:24 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 30 Nov 2011 13:34:24 -0500 Subject: [dba-SQLServer] MySQL question In-Reply-To: <99266C61B516644D9727F983FAFAB46511B8E4@remote.ddisolutions.com.au> References: <99266C61B516644D9727F983FAFAB46511B8E4@remote.ddisolutions.com.au> Message-ID: For starters, try to log in using the command line tool. If you make it that far, enter "show databases". You will get at least one ("test") and perhaps more. Assuming you get that far, try a Create Database command and see what happens. As far as copying the client's database, the specifics will pertain to which engine is in use. HTH, Arthur On Wed, Nov 30, 2011 at 2:56 AM, Michael Maddison < michael at ddisolutions.com.au> wrote: > Hi Guys, > > I know this is slightly OT but... > > My client was supposed to install a 3rd party app and set it's database > up as SQL Server. > However events have occurred and now they have a MySQL database they > want me to use! > I've never used MySQL as a datasource but I'll assume it should be ok. I > only have to read, no writes, which is something I suppose. > > I'm downloading 5.5 and the Workbench for testing here. > > I only have access to the clients pc with MySQL installed using > TeamViewer, basically a remote desktop tool for those not on the domain. > When I look at the 3rd party apps options page the database stuff IS NOT > SETUP. > How can I tell if the database is in fact installed? Only the command > line client is installed. I REFUSE to do any installations of tools on > their PC... > > Is there a simple way to backup their database (if it exists) and then > load it here? > They only gave me the password to MySQL. Which does work in the command > line tool, not that I know what to do with it :-/ > > Sorry for the OT. > > Cheers > > Michael M > > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From hans.andersen at phulse.com Wed Nov 30 14:06:24 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Wed, 30 Nov 2011 12:06:24 -0800 Subject: [dba-SQLServer] MySQL question In-Reply-To: <99266C61B516644D9727F983FAFAB46511B8E4@remote.ddisolutions.com.au> References: <99266C61B516644D9727F983FAFAB46511B8E4@remote.ddisolutions.com.au> Message-ID: <6684EA24-2F95-4394-BC62-464C09972F56@phulse.com> Does the clients pc have the command line tool mysqldump (usually comes as standard with mysql)? This is a standard tool for exporting databases to flat text files. And then to import it to another machine, you create an empty database and use the standard mysql command to import (ie. mysql dbname < file.sql ). Best regards, Hans-Christian Andersen On 29 Nov 2011, at 23:56, "Michael Maddison" wrote: > Hi Guys, > > I know this is slightly OT but... > > My client was supposed to install a 3rd party app and set it's database > up as SQL Server. > However events have occurred and now they have a MySQL database they > want me to use! > I've never used MySQL as a datasource but I'll assume it should be ok. I > only have to read, no writes, which is something I suppose. > > I'm downloading 5.5 and the Workbench for testing here. > > I only have access to the clients pc with MySQL installed using > TeamViewer, basically a remote desktop tool for those not on the domain. > When I look at the 3rd party apps options page the database stuff IS NOT > SETUP. > How can I tell if the database is in fact installed? Only the command > line client is installed. I REFUSE to do any installations of tools on > their PC... > > Is there a simple way to backup their database (if it exists) and then > load it here? > They only gave me the password to MySQL. Which does work in the command > line tool, not that I know what to do with it :-/ > > Sorry for the OT. > > Cheers > > Michael M > > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > From accessd at shaw.ca Wed Nov 9 10:14:43 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 9 Nov 2011 08:14:43 -0800 Subject: [dba-SQLServer] the IT market In-Reply-To: <4EB067CB.7080100@colbyconsulting.com> References: <4EB04C35.4010201@colbyconsulting.com> <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> <4EB067CB.7080100@colbyconsulting.com> Message-ID: <3A1BA62CC701425080FC90220A0FC274@creativesystemdesigns.com> As the IT, market is dramatically, changing the people here now have a chance to grade their current endeavors. http://www.techrepublic.com/blog/career/grade-your-job-it-programmer/3622?ta g=nl.e101 Jim From jwcolby at colbyconsulting.com Sat Nov 12 08:26:40 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 12 Nov 2011 09:26:40 -0500 Subject: [dba-SQLServer] New SQL Server license scheme is RADICALLLY more expensive Message-ID: <4EBE8220.8070905@colbyconsulting.com> http://sqlserverperformance.wordpress.com/2011/11/10/sql-server-2012-licensing-and-hardware-considerations/ The full retail license cost per physical core is $6874.00 for SQL Server 2012 Enterprise Edition. I cannot imagine that there will not be a huge backlash about this from clients and massive switching to MySQL and the likes. I know that I will never purchase SQL Server 2010. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From df.waters at comcast.net Wed Nov 16 09:11:12 2011 From: df.waters at comcast.net (Dan Waters) Date: Wed, 16 Nov 2011 09:11:12 -0600 Subject: [dba-SQLServer] IT Position in Minneapolis/St.Paul Message-ID: <002b01cca471$fa687070$ef395150$@comcast.net> I just talked with one of my customers this morning, and they are looking for a person to be an 'on call' IT person. This a 100 person manufacturing firm in Shoreview. If you're interested, please contact me directly. Thanks! Dan From jwcolby at colbyconsulting.com Thu Nov 17 11:29:00 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 17 Nov 2011 12:29:00 -0500 Subject: [dba-SQLServer] Setting up security in new server Message-ID: <4EC5445C.5020009@colbyconsulting.com> My client has brought up a new server which will host his Access database back ends as well as SQL Server. The old server ran Windows 2000 X32 and 4 gigs of memory. Windows 2000 only supports SQL Server 2005 due to the fact that it cannot support the .Net framework version required by SQL Server 2008. As a result I was running SQL Server 2005 Express X32 on the old server. For the moment the new server is running Windows 2003 X64 which does support the .Net framework version to support SQL Server 2008. I have installed the .net framework and SQL Server 2008 Express on the new server. I then simply disconnected the database and copied the data file. I need to move a couple of databases from the old server to the new. In the old server I had created two SQL Server users, DiscoAdmin and DiscoUser. In the new server I can set up those users in the server security / logins tab but from there I can't assign the user rights in the databases I brought over from the old server. My guess is that when I do that in the server and assign the rights for the databases, the users already exist in the database itself and so cannot be created. I am unable to delete the user in the database because it says the user "owns a schema". Sure enough the user has a couple of check boxes checked but they are grayed out and I cannot uncheck them. So how the heck to I recreate the user / password / rights stuff that was set up on the old server for these databases? Any help much appreciated. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From michael at ddisolutions.com.au Thu Nov 17 22:32:12 2011 From: michael at ddisolutions.com.au (Michael Maddison) Date: Fri, 18 Nov 2011 15:32:12 +1100 Subject: [dba-SQLServer] Setting up security in new server References: <4EC5445C.5020009@colbyconsulting.com> Message-ID: <99266C61B516644D9727F983FAFAB46511B870@remote.ddisolutions.com.au> Hi JC, I think this is the one you need. Basically when you copy a db from 1 server to another the PID? Could be different on the new server. The sproc below fixes it. C. Automatically map a user to a login, creating a new login if necessary This example shows how to use the Auto_Fix option to map an existing user to a login with the same name, or create the SQL Server login Mary with the password B3r12-36 if the login Mary does not exist. USE pubs go EXEC sp_change_users_login 'Auto_Fix', 'Mary', NULL, 'B3r12-36' Go Cheers Michael -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, 18 November 2011 4:29 AM To: Sqlserver-Dba Subject: [dba-SQLServer] Setting up security in new server My client has brought up a new server which will host his Access database back ends as well as SQL Server. The old server ran Windows 2000 X32 and 4 gigs of memory. Windows 2000 only supports SQL Server 2005 due to the fact that it cannot support the .Net framework version required by SQL Server 2008. As a result I was running SQL Server 2005 Express X32 on the old server. For the moment the new server is running Windows 2003 X64 which does support the .Net framework version to support SQL Server 2008. I have installed the .net framework and SQL Server 2008 Express on the new server. I then simply disconnected the database and copied the data file. I need to move a couple of databases from the old server to the new. In the old server I had created two SQL Server users, DiscoAdmin and DiscoUser. In the new server I can set up those users in the server security / logins tab but from there I can't assign the user rights in the databases I brought over from the old server. My guess is that when I do that in the server and assign the rights for the databases, the users already exist in the database itself and so cannot be created. I am unable to delete the user in the database because it says the user "owns a schema". Sure enough the user has a couple of check boxes checked but they are grayed out and I cannot uncheck them. So how the heck to I recreate the user / password / rights stuff that was set up on the old server for these databases? Any help much appreciated. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1411 / Virus Database: 2092/4021 - Release Date: 11/16/11 From fuller.artful at gmail.com Sun Nov 20 13:19:22 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 20 Nov 2011 14:19:22 -0500 Subject: [dba-SQLServer] SQL Server Denali/2012 Message-ID: I just downloaded SQL 2012 RC and burned the ISO to DVD. My question is this: should I remove Denali first and then install 2012, or see if there's an upgrade option? Anyone done this yet? If not, I'll report back with my results. -- Arthur Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From jwcolby at colbyconsulting.com Wed Nov 23 10:35:06 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 23 Nov 2011 11:35:06 -0500 Subject: [dba-SQLServer] Clearing the decks for MySQL Message-ID: <4ECD20BA.1060301@colbyconsulting.com> I run three VMs pretty much 24/7 here at my home office, one which I call vmDev which is my development machine, another is my Accuzip third party software vm and one final machine runs SQL Server Express for Access clients coming in over the internet. I had a dedicated server for VMs which I actually just upgraded to a new motherboard, DDR3 ram etc in preparation for the new AM3+ bulldozer processor. Given the weak performance of the new processor I am hanging out waiting for the next rev / price drops before taking that plunge. what I did do however is move all three of those VMs off onto my 16 core SQL Server machine. The only VM which truly needs much horsepower is the Accuzip VM and my performance dropped by half when I did the move. Whereas I was getting about 8-9 million records / hour on the dedicated VM Server, on Azul SQL Server machine I am lucky to get 4.5 million per hour. The difference is mostly just the core speed. The Magney-Cours server chips that I could afford run at 2.0 ghz and have ddr3 1300 memory (registered and ECC), whereas the new motherboard has DDR 1600 memory and a quad core Phenom lightly overclocked to 3.3 ghz. The additional clock speed and memory speed apparently makes for significant additional horsepower. Anyway, I have decided to take the speed hit on the Accuzip VM in order to clean off what was my dedicated VM server and use that for a MySQL machine. As servers go this machine is somewhat wimpy with 4 cores and 16 gigs of memory but for learning MySQL it should suffice. There has been a bit of interest expressed in MySQL, with some list members already using it and others trying to learn it. I count myself in the trying to learn it crowd. My intention is to go with MariaDB. Since I have Hyper-V running on this machine I am thinking about running mariaDB itself on a VM which would allow me to move the VM should I decide to keep it. I have to say I am not having a lot of luck getting a Linux distro running on a Hyper-V VM, but if I can make that happen that would be my preference. If anyone out there has experience getting a linux distro running in a Hyper-V VM running MariaDB let me know. I look forward to discussing MySQL with everyone interested in the subject. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Sat Nov 26 08:28:19 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 26 Nov 2011 09:28:19 -0500 Subject: [dba-SQLServer] Five Absolutely Essential Utilities that make Windows better - Scott Hanselman Message-ID: <4ED0F783.8000201@colbyconsulting.com> -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it http://www.hanselman.com/blog/FiveAbsolutelyEssentialUtilitiesThatMakeWindowsBetter.aspx From michael at ddisolutions.com.au Wed Nov 30 01:56:36 2011 From: michael at ddisolutions.com.au (Michael Maddison) Date: Wed, 30 Nov 2011 18:56:36 +1100 Subject: [dba-SQLServer] MySQL question Message-ID: <99266C61B516644D9727F983FAFAB46511B8E4@remote.ddisolutions.com.au> Hi Guys, I know this is slightly OT but... My client was supposed to install a 3rd party app and set it's database up as SQL Server. However events have occurred and now they have a MySQL database they want me to use! I've never used MySQL as a datasource but I'll assume it should be ok. I only have to read, no writes, which is something I suppose. I'm downloading 5.5 and the Workbench for testing here. I only have access to the clients pc with MySQL installed using TeamViewer, basically a remote desktop tool for those not on the domain. When I look at the 3rd party apps options page the database stuff IS NOT SETUP. How can I tell if the database is in fact installed? Only the command line client is installed. I REFUSE to do any installations of tools on their PC... Is there a simple way to backup their database (if it exists) and then load it here? They only gave me the password to MySQL. Which does work in the command line tool, not that I know what to do with it :-/ Sorry for the OT. Cheers Michael M From fuller.artful at gmail.com Wed Nov 30 12:34:24 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 30 Nov 2011 13:34:24 -0500 Subject: [dba-SQLServer] MySQL question In-Reply-To: <99266C61B516644D9727F983FAFAB46511B8E4@remote.ddisolutions.com.au> References: <99266C61B516644D9727F983FAFAB46511B8E4@remote.ddisolutions.com.au> Message-ID: For starters, try to log in using the command line tool. If you make it that far, enter "show databases". You will get at least one ("test") and perhaps more. Assuming you get that far, try a Create Database command and see what happens. As far as copying the client's database, the specifics will pertain to which engine is in use. HTH, Arthur On Wed, Nov 30, 2011 at 2:56 AM, Michael Maddison < michael at ddisolutions.com.au> wrote: > Hi Guys, > > I know this is slightly OT but... > > My client was supposed to install a 3rd party app and set it's database > up as SQL Server. > However events have occurred and now they have a MySQL database they > want me to use! > I've never used MySQL as a datasource but I'll assume it should be ok. I > only have to read, no writes, which is something I suppose. > > I'm downloading 5.5 and the Workbench for testing here. > > I only have access to the clients pc with MySQL installed using > TeamViewer, basically a remote desktop tool for those not on the domain. > When I look at the 3rd party apps options page the database stuff IS NOT > SETUP. > How can I tell if the database is in fact installed? Only the command > line client is installed. I REFUSE to do any installations of tools on > their PC... > > Is there a simple way to backup their database (if it exists) and then > load it here? > They only gave me the password to MySQL. Which does work in the command > line tool, not that I know what to do with it :-/ > > Sorry for the OT. > > Cheers > > Michael M > > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > -- Cell: 647.710.1314 Thirty spokes converge on a hub but it's the emptiness that makes a wheel work -- from the Daodejing From hans.andersen at phulse.com Wed Nov 30 14:06:24 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Wed, 30 Nov 2011 12:06:24 -0800 Subject: [dba-SQLServer] MySQL question In-Reply-To: <99266C61B516644D9727F983FAFAB46511B8E4@remote.ddisolutions.com.au> References: <99266C61B516644D9727F983FAFAB46511B8E4@remote.ddisolutions.com.au> Message-ID: <6684EA24-2F95-4394-BC62-464C09972F56@phulse.com> Does the clients pc have the command line tool mysqldump (usually comes as standard with mysql)? This is a standard tool for exporting databases to flat text files. And then to import it to another machine, you create an empty database and use the standard mysql command to import (ie. mysql dbname < file.sql ). Best regards, Hans-Christian Andersen On 29 Nov 2011, at 23:56, "Michael Maddison" wrote: > Hi Guys, > > I know this is slightly OT but... > > My client was supposed to install a 3rd party app and set it's database > up as SQL Server. > However events have occurred and now they have a MySQL database they > want me to use! > I've never used MySQL as a datasource but I'll assume it should be ok. I > only have to read, no writes, which is something I suppose. > > I'm downloading 5.5 and the Workbench for testing here. > > I only have access to the clients pc with MySQL installed using > TeamViewer, basically a remote desktop tool for those not on the domain. > When I look at the 3rd party apps options page the database stuff IS NOT > SETUP. > How can I tell if the database is in fact installed? Only the command > line client is installed. I REFUSE to do any installations of tools on > their PC... > > Is there a simple way to backup their database (if it exists) and then > load it here? > They only gave me the password to MySQL. Which does work in the command > line tool, not that I know what to do with it :-/ > > Sorry for the OT. > > Cheers > > Michael M > > > > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com >