![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Cliff skrev: Greetings, I have been spending the last couple of days trying to get a quick jolt on how SQL works and how I can use access as a client to connect to an SQL databse. "An SQL database" is a very vague term - many different database servers exist that speak some dialect of SQL. This, combined seems to be the root of your problem. Normally, the only people who use the term "SQL Server" without any modifiers are people who are using (or selling) "Microsoft SQL Server". I am a volunteer in Honduras helping a teacher teach students about databases. The problem is it happends to be my weakest subject when it comes to world of computing. What I have done is downloaded and installed a version of MySQL on my personal computer and installed it. In the control panel, in administrative tools, I had used the data source menu to add a SQL server connection. I set my server to 127.0.0.1 and my port to match the port SQL is using. I verified the connection by telneting to that IP with that port and connect (with a bad hadnshake given but appeared to have accepted the connection). I also verified that my computer is listening on that specific port, which is why I was able to telnet to it. Now when it comes to setting up this datasource I get nothing but problems. You are running a MySQL database server. You are telling Windows to create a connection to an "SQL Server" - which is Microsoft shorthand for "Microsoft SQL Server". You need to create a connection to a MySQL server. For this to work, you need an ODBC-driver for MySQL. It seems you can download one from here: It sure did. Thanks for the quick response! The driver worked fine. I |
#3
| |||
| |||
|
|
Cliff skrev: Greetings, I have been spending the last couple of days trying to get a quick jolt on how SQL works and how I can use access as a client to connect to an SQL databse. "An SQL database" is a very vague term - many different database servers exist that speak some dialect of SQL. This, combined seems to be the root of your problem. Normally, the only people who use the term "SQL Server" without any modifiers are people who are using (or selling) "Microsoft SQL Server". I am a volunteer in Honduras helping a teacher teach students about databases. The problem is it happends to be my weakest subject when it comes to world of computing. What I have done is downloaded and installed a version of MySQL on my personal computer and installed it. In the control panel, in administrative tools, I had used the data source menu to add a SQL server connection. I set my server to 127.0.0.1 and my port to match the port SQL is using. I verified the connection by telneting to that IP with that port and connect (with a bad hadnshake given but appeared to have accepted the connection). I also verified that my computer is listening on that specific port, which is why I was able to telnet to it. Now when it comes to setting up this datasource I get nothing but problems. You are running a MySQL database server. You are telling Windows to create a connection to an "SQL Server" - which is Microsoft shorthand for "Microsoft SQL Server". You need to create a connection to a MySQL server. For this to work, you need an ODBC-driver for MySQL. It seems you can download one from here: http://dev.mysql.com/downloads/connector/odbc/3.51.html Hope this helps Nis |
#4
| |||
| |||
|
|
On Jul 4, 12:17 pm, Nis Jørgensen <n... (AT) superlativ (DOT) dk> wrote: Cliff skrev: Greetings, I have been spending the last couple of days trying to get a quick jolt on how SQL works and how I can use access as a client to connect to an SQL databse. "An SQL database" is a very vague term - many different database servers exist that speak some dialect of SQL. This, combined seems to be the root of your problem. Normally, the only people who use the term "SQL Server" without any modifiers are people who are using (or selling) "Microsoft SQL Server". I am a volunteer in Honduras helping a teacher teach students about databases. The problem is it happends to be my weakest subject when it comes to world of computing. What I have done is downloaded and installed a version of MySQL on my personal computer and installed it. In the control panel, in administrative tools, I had used the data source menu to add a SQL server connection. I set my server to 127.0.0.1 and my port to match the port SQL is using. I verified the connection by telneting to that IP with that port and connect (with a bad hadnshake given but appeared to have accepted the connection). I also verified that my computer is listening on that specific port, which is why I was able to telnet to it. Now when it comes to setting up this datasource I get nothing but problems. You are running a MySQL database server. You are telling Windows to create a connection to an "SQL Server" - which is Microsoft shorthand for "Microsoft SQL Server". You need to create a connection to a MySQL server. For this to work, you need an ODBC-driver for MySQL. It seems you can download one from here: http://dev.mysql.com/downloads/connector/odbc/3.51.html Hope this helps Nis I hate to do this to you but I can't find anything useful online. Everything works accept I can't open a simple database. When I connect with access I get the error.. ODBC--call failed. [MYSQL][ODBC 3.51 Driver]Uknown database 'my_books' (#1049) The database is created and I can view at the mysql command prompt. There is no data however in the database, I was hoping to use access as a client to connect to it and add data. Any thoughts? Whats odd is I can open the 'mysq' database that comes with MySQL, but I cannot open my own! What gives. |
#5
| |||
| |||
|
|
On 4 Jul, 19:27, Cliff <Cliff.Ros... (AT) gmail (DOT) com> wrote: On Jul 4, 12:17 pm, Nis Jørgensen <n... (AT) superlativ (DOT) dk> wrote: Cliff skrev: Greetings, I have been spending the last couple of days trying to get a quick jolt on how SQL works and how I can use access as a client to connect to an SQL databse. "An SQL database" is a very vague term - many different database servers exist that speak some dialect of SQL. This, combined seems to be the root of your problem. Normally, the only people who use the term "SQL Server" without any modifiers are people who are using (or selling) "Microsoft SQL Server". I am a volunteer in Honduras helping a teacher teach students about databases. The problem is it happends to be my weakest subject whenit comes to world of computing. What I have done is downloaded and installed a version of MySQL on my personal computer and installed it. In the control panel, in administrative tools, I had used the data source menu to add a SQL server connection. I set my server to 127.0.0.1 and my port to match the port SQL is using. I verified the connection by telneting to that IP with that port and connect (witha bad hadnshake given but appeared to have accepted the connection). I also verified that my computer is listening on that specific port, which is why I was able to telnet to it. Now when it comes to setting up this datasource I get nothing but problems. You are running a MySQL database server. You are telling Windows to create a connection to an "SQL Server" - which is Microsoft shorthand for "Microsoft SQL Server". You need to create a connection to a MySQL server. For this to work, you need an ODBC-driver for MySQL. It seems you can download one from here: http://dev.mysql.com/downloads/connector/odbc/3.51.html Hope this helps Nis I hate to do this to you but I can't find anything useful online. Everything works accept I can't open a simple database. When I connect with access I get the error.. ODBC--call failed. [MYSQL][ODBC 3.51 Driver]Uknown database 'my_books' (#1049) The database is created and I can view at the mysql command prompt. There is no data however in the database, I was hoping to use access as a client to connect to it and add data. Any thoughts? Whats odd is I can open the 'mysq' database that comes with MySQL, but I cannot open my own! What gives. What exactly are you trying to teach - and to who?- Hide quoted text - - Show quoted text - |
#6
| |||
| |||
|
|
A highschool in Honduras. Its an advanced computer class for students at the age of 17-18. Admitedly databases are not my specialty and I have spent very little in the way of working with them. Up untill now we have been working in access but soon we will start with SQL. Nothing to heavy and if I cannot setup a server for them I will install mysql locally on each computer for them to work on. I can disable the network portion of mysql and they will just have to manage their own database locally on their computer. Thanks for the help though I will have to head over to a mysql group for more help. Thanks for everything guys! |
![]() |
| Thread Tools | |
| Display Modes | |
| |