Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    MYSQL


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Accessing Data On An SQL-Server By Using MySQL-Select


is it possible to access data located in a SQL-Server-Database by using a MySQL SELECT-Statement?

I know that on an I can use a qurey like the following

SELECT *
FROM OpenDataSource( 'Microsoft.Jet.OLEDB.4.0',
'Data Source="c:Financeaccount.xls";User ID=Admin;Password=;Extended properties=Excel 5.0')

on an MS-SQL-Server and search for something similar in MySQL.




View Complete Forum Thread with Replies

Related Forum Messages:
Accessing Mysql Server On LAN
I have a problem accessing mysql server on my LAN: i can access it locally but not from other machine.


The error is: Lost connection to mysql server during query.

I've disabled the firewall but it's still not working. What i don't know is if i set the users correctly...

View Replies !
Accessing A Mysql Database On A Remote Server
i would like to know how to connect to a remote mysql server which is on linux from a windows system. I gave the command:

mysql -u root -p redhat -h 192.168.1.132, where the ip is the ip of the linux server. But i got the error message stating that :-

Host 192.168.1.114(which is my system ip) is not allowed to connect to this MySQL server.Sreejith

View Replies !
Accessing Mysql On Win2003 Server From A Station
I have installed Mysql on a Win2003 server and it is running as a service. I created a database and it works ok on the server logged on as root.

I then tried to access the database from a station on the network using PHP code and I get the error - Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in G:InetpubWWWrootIntranetookingacc.php on line 10.

Do I need Mysql Client on the station or does it run on the Server by default?

View Replies !
Accessing MySQL Data
This morning when I tried to access my MySQL installation through MySQL Query Browser, all schemas have a message stating "Fecthing Data..." when I expand the schema. If I access MySQL through the command line, I get the following message when I execute a "use" command:
"Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A"
If I execute mysql using "-A", then it appears I can access the data, but it's very slow. Has anyone experienced this and if so, do you know how to resolve it?

View Replies !
Accessing MS-SQL Server
I need to integrate some data of a system that uses MySQL 5.0 with one system that uses MS-SQL Serve Express Edition.

How can I do this? Is it possible call a SP in the SQL Server database from a SP/Trigger in the MySQL database?

View Replies !
Warning When Accessing The Database In Server
I got this warning when i tried to access the file. It's like : Warning

Changed limits: max_open_files: 2048 max_connections: 800 table_cache: 619

contact www.mysql.com blah blah blah

I dont know what happened and what should i do?

View Replies !
Accessing Data With In It
I have a problem selecting records with in any values.

For example:

SELECT * FROM ADDRESS WHERE STREET = "A"

will give an error:

If I replace with then it works. Eg.

SELECT * FROM ADDRESS WHERE STREET = "A"

Is there any setting in MySQL that can overcome this?

View Replies !
Accessing Remote Data Folder
I have MySql 4.0.17 server on my machine. My data

folder is on a network drive. Recently I installed

MySql 4.0.17 on a different machine, changed the my.ini

file to point to the same remote data folder and

restarted the MySql. I get the following error-

"Could not start the MySql Server on local computer.

Error 1067: The process terminated unexpectedly".

So I copied the remote data folder onto my local

machine and changed the my.ini accordingly, it is

working perfectly fine. The storage engine is Innodb. Am I missing something here.

I am pasting the contents of my my.ini file below. Code:

View Replies !
Accessing Multiple Tables With A Select Statement
I am writing a select statement, that says something to this effect. Select * from texas, california, oklahoma; Everything in each table is going to be the exact same. as far as city, name, and zip...they are the titles of my fields. But when I go and look at this file, it just shows everyone from oklahoma. If take out out oklahoma, then it shows everyone from california but not texas. What is the proper way to do this?

View Replies !
Accessing Floating Point Data From Table...
I have a table and from a column in the table i'm accessing values. I found that only floating point data is not accessible. For example if i issue this below query it gives empty set.

select * from audio where audio_sr=44.1;

whereas when given as below,

select * from audio;

i can see rows having 44.1 as data value in audio_sr column.

Whats the problem please help.. I'm using mysql version 5.0.18 software.

View Replies !
Can't Connect To Local MySQL Server Through Socket '/home/data/mysql/mysql.sock' (13)
I just installed mysql on linux. If I open a terminal, su to root,
then type "mysql", I am able to connect to the server and run my
queries.

If I exit out of su so that I am my own id (baisley) and type "mysql",
I get this error: Can't connect to local MySQL server through socket
'/home/data/mysql/mysql.sock' (13)

Any idea why? mysql.sock has full permissions (read/write/execute), so
it should be accessable by user baisley. If I am baisley and I run
"mysql -u mysql" (as mysql is the user that the RPM set up), it will
connect.

What I would like to be able to do is run this without having to be
user mysql all the time. How do I go about setting that up, or is it
better to run all my queries/make tables as 1 user?

View Replies !
Could Not Select Database - MySQL Server Has Gone Away
Firstly I appreciate anyone reading this trying to help me because its driving me crazy!

I have a script that imports a lot of csv files, these run fine and then all of a sudden stop! It stops at the same place everytime, but there is no code error as its all the same for every csv file. It does stop on a large file (45MB) but this may be just a coinsidence because i have set all the php limits to way above this.

I have setup some security recently and wondered if it is this which is blocking me out of the mysql server after so many requests etc.?

View Replies !
Trying Abort One Select Accessing One Table Locked By Lock Table.
I'd like to configure one time to abort one transaction that are accessing one table locked by lock table write command ex:

Transaction A
mysql> start transaction;
mysql> lock table mytable write;

After I'll start new transaction B (another connection)

mysql> start transaction;
mysql> select * from mytable;

It's will become long time to wait...

My transaction B never "die".

I tried to configure innodb_lock_wait_timeout=20 in my.ini without success,

View Replies !
ERR: Data (not Date) From SQL Server To MySQL
How do I get data from my tables in SQL Server into my tables in mySQL. I have tried exporting the data out of SQL Server to a flat file (.txt), and then import into the table in mySQL from the txt. For some reason, it bombs and closes my GUI (mySQL control center).

View Replies !
Data Transfer From MySQl To SQl Server
I want to transfer data from MySQL to SQL server. I like to do this using scripts.

View Replies !
I Want To Make Transfer Data Between MySQL Server To MySQL Local .
I want to make transfer data between MySQL Server to MySQL Local .

My Environment.

Server < --- > My PC Client

Server =
::::: MySQL DB Server ( for Linux )
::::: Apache ..
::::: Linux

PC Client =
::::: Window
::::: MySQL run localhost ( for window )

How i transfer data from mysql server to mysql local .?
Caz i don't want to connect via 3306 port ..
Can i use others way?

View Replies !
Merging Data On Remote MySql Server
I've been tasked with installing the table structure from the master database onto a remote MySQL server. The remote server will accept data and periodically, merge/dump the data to the master server.
I need help with the merge/dump issue. This doesn't sound like a replication (where two database servers are made to look identical) issue but 'merge' doesn't soud right either.

View Replies !
Retrieving Data From Non-MySQL Server Via ODBC
I'm investigating using MySQL instead of the dreaded Access to retrieve logged information from a process control system. Is there a way to use ODBC to get rows INTO MySQL? All I can find in the manual is how to set up MySQL as an ODBC server for other applications. The control system is configured as an ODBC server, and Access will connect to it, but hangs and dies when I try to retrieve data.

View Replies !
Transforming Sql Server Data Base To Mysql One ..
I have an sql server Database Backup , I got it from My client who wants to rebuild his site with php-mysql .

What i want to do is to transform the sql server backup to MYsql one without losing any data ..

I want to do this without Loading the sql server on my PC ...

i tried many tools but it requires a pre-installed version of sql server to connect to ..

I have the sql server bckup file with the name website.bak

View Replies !
Auto Get Data From MS SQL Server N Insert Into Mysql Database?
i need get data from MS SQL server everyday for daily data and insert into mysql database. Isnt possible to create a script to auto this process?? how can it do it?
impossible to done it manually rite?

View Replies !
Accessing Dev.mysql.com
I'm trying to download MySQL4.1 from the MySQL site and when I try and
go to the download section on the site it either fails or, if it loads,
the "pick a mirror site" links always fail.

By "fail" I mean that it doesn't manage to retrieve the requested page,
either sticking on "waiting for dev.mysql.com" or "connecting to
dev.mysql.com" in the status line of the browser, eventually giving up
with an "operation timed out" error message.

Is anyone else having this problem or is it just me? - this has been
ongoing for the past couple of days now.

Incidentally, I need a version of MySQL that can handle subqueries yet
I'm still using glibc-2.2.5-40 and Redhat 7.3 (upgrading simply isn't an
option right now) - can anyone suggest a stable sub-version of 4.1 that
fits this criteria?

View Replies !
Accessing MySQL From VB6
Does anyone know how to access a MySQL server from vb6?

View Replies !
MySQL Enterprise Server With InnoDB For Mission-critical Data?
However recently the company I work for has the requirement to upgrade their database system. The data here really is mission-critical and we can't afford to loose any of it, and we need 24-7 uptime, with good performance (we have lots of clients so there'll be heavy load), any downtime will cost us.

What I'd like to hear is peoples own experiences with MySQL Enterprise, good or bad, and if it's up to the job.

Looking around the net I've seen lots of supposed expert DBAs saying that there's no argument; you should go with one of the "big 3", these being DB2, Oracle or MSSQL. However I get the feeling Oracle and DB2 would be a massive task to configure, and MSSQL - well it runs on Windows, we can't have any downtime no matter how good people say it is these days.

So my idea was; InnoDB on 3 servers - a master and 2 replication slaves, with one slave off-site down a 10Mb line (wide enough pipe?). We use the on-site slave to run our daily backups, and point our reporting web sites at it too. the off site is for worst-case scenario disaster recovery.

How much would we be better off spending more £ on one of the "big 3"? Would our data be safer on these? Would we get better performance with these? Is there a better model I could use for the MySQL setup?

View Replies !
Accessing MySQL DB From Another Domain
what is the best way to access data in a MySQL database on one domain from a PHP script on another.

We have a secure (SSL) server on one domain which will be used for secure credit card transactions. We would like to be able to extract insecure contact information from MySQL database on another domain in another hosting environment.

View Replies !
Accessing MySql On Yahoo
I have never used MySql before.I program in C# and Visual FoxPro against
MS SQL on a corporate network.
I have a Yahoo web page, and I'm going to use their MySQL DB.
I want to run queries, Inserts, Updates and Deletes.
I have no idea how to connect to MySql on Yahoo from a client like
C# or VFP.


View Replies !
Accessing MySQL Database.
I have recently installed MySQL 5.0.27 / PHP 5.2.0 / Apache 2.2.3 on an XP os.

I created an empty database via the MySQL command line which is visible when I type SHOW DATABASES at the mysql prompt.

I have changed my root password which works OK.

I set up the password to the empty db by:

GRANT ALL ON database name.*
TO username@localhost IDENTIFIED BY 'password'

To access the db, when I type :

mysql -D dbname -u username -p

I do not get a prompt to enter the password.

View Replies !
Accessing Mysql From Another Host
New install of mysql on Solaris 10 x86.

I cannot connect from any other host, lots of traffic on google with people with the same error. Talk of the grant command fixing this, but no details. So simple question.

What "exactly" do I type to allow connections to port 3306 from another host to avoid messages such as

ERROR 1130 (00000): Host 'am-ms-t.foo.baa' is not allowed to connect to this MySQL server

View Replies !
Accessing A Mysql DB Remotely
I am building a kiosk which uses a lockdown browser. The browser uses a php page to access a MySQL DB on a web server. It will not allow me to connect to the DB because I am using the following connection string:

mysql_connect("localhost","*****","*****");
mysql_select_db("******") or die ('I cannot connect to the

database because: ' . mysql_error());

I know that the problem here is that I'm trying to connect to 'localhost' when the actual DB resides elsewhere. The question I'm asking is how to find out how to connect to my DB. Is it just mysql.mydomain.com instead of localhost or what?

View Replies !
Error 1130 When Accessing MySQL From Another IP??
I am trying to run the MySQL DB on a Linux machine that is part of a home
LAN (IP=192.168.0.3), while trying to access it from another WinXP machine
(IP=192.168.0.5). I keep getting the following error:

MySQL Error Number 1130
#HY000Host '192.168.0.5' is not allowed to this MySQL server

Ping works fine.

On searching the internet, I find reference to "allow list" hidden somewhere
in the guts of MySQL. Can anyone provide me hints on how to add to this
list?

View Replies !
Accessing MySQL On Linux From Window
Is it possible to have a visual basic application running under windows and
access MySQL database on a Linux box?

Any extra drivers required for this?

View Replies !
Accessing Mysql After Fresh Installation
I have recently installes mysql -4.0.0.1 on my redhat 7.1 machine . After
installing when enter into mysql it gives me message " Access denied for
user root@local host .......using password yes"

i have tried all the options like

#mysql -u root -h localhost
#mysql -u root -h localhost -p
#mysql -u root -h localhost -p mysql
#mysql -u root -h localhost test -p
#mysql -u root -h localhost test
#mysql -u root
#mysql -u root mysql

but none of the option is working at all.

Please any idea how i can change the root password or enter the mysql after
fresh installation.

View Replies !
Accessing Mysql Database From Php File
I can access mysql in dos with the command of c:mysqlinmysql -u root mysql but when i write the command of mysql_connect ("localhost", "username", "password") i don't know what my username or password is.

I have installed Apache to run the mysql database and php on my computer although I don't know where to find out the username and password so if someone could help that would be great.

View Replies !
Accessing Mysql Programs Remotely
Is there any method you can use to access the mysql programs (mysqld, mysqladmin etc) from a remote computer? Or do they need to be ran on the server itself?

View Replies !
Accessing Mysql From Command Prompt
The path to my mysql installation is "C:Program Filesxamppmysqlin".

I want to run myisamchk - to do this I think I have to access it via the command prompt.

A stupid question - I kmow - but how do I get to the directory in a DOS window??

View Replies !
Accessing Mysql/bin Directory Problem
This may be very basic question, that I hope some of you can answer very quickly for me. I'm running mysql 4.1 on windows xp just to learn the database, and I'm in a need to run .exe in the bin directory. The problem I'm having is accessing this directory. The path is C:/Program Files/Mysql/Mysql server 4.1/bin but when I get to C:/cd "Program Files/..." I get an error message saying (parameter format not correct - "program) i have tried several things, as well as following a user guide for changing directories that states that if the folder name has spaces use " to access that subfolder...maybe there is a simple tip ...

View Replies !
Accessing Remote MySQL Database
Is it possible to access remote MySQL databases?

I manage several sites and I will soon be building a tool that can track all of them, and it would be really convenient if I could somehow access all of the databases from one remote site.

View Replies !
Copy/move Mysql Data From Local Machine To Remote Server Database
I have an website that is host on web server and here have a database that have only one table name is "user" Table fields are:
name
Id no
email
phone

And I am using same site in my local machine. I always use my local machine for data entry and everyday end of the day I want to transfer data by clicking one button from my local machine database table to my remote server website database table.

How can I transfer data from my local machine database table to my remote server website database table.

View Replies !
How The Field Of Mysql Table To Be Hyperlinked To Some Url When Accessing.
I have mysql table in which there is some field, in which there is four letter code like "1aed" , it is to be access through php script, and it is accessing, when four lletter code is accessed, how it should be made hyperlinked to some url.

View Replies !
Accessing MySQL BLOB Columns Using Visual C#
I am trying to write an image file to a remote MySQL Database. The following code show the section I try to save the ImageArragy into the MySQL BLOB column. The error that I am getting is : Can someone tell me where I am going wrong and how I can fix this problem?

View Replies !
Image Storing And Accessing In Mysql Table
How to store Images in mysql table and accessing

View Replies !
Accessing MySQL By A Client-side Application
I'm going to start an application that runs in a desktop computer but access data on a MySQL server in a remote computer (internet).

View Replies !
Accessing MySql Thru Coldfusion - Password Problem
I have downloaded MySql 5.0 for Windows (XP) and MySqlCC so I can interact with it. When I installed MySQl I created a username and password which I can see in "my ini" file. I don't remember creating any passwords through mysqlcc.

I am building a database driven website using "macromedia studio MX" and am experiencing problems accessing my Mysql database through that software - I keep getting asked for a login ID and password, and for the life of me, have no idea what they are.

1. When I originally added my database as a 'data source' in Cold Fusion (MX 6.1 administrator) it would not let me create a password. I kept getting error messages like "The root cause was that: java.sql.SQLException: Invalid authorization specification: Access denied for user: 'martin'@'localhost' (Using password: YES)" etc etc etc variations on that theme. (adding the database without a password wasn't a problem)

2. Now I am trying to create a dynamic page in Dreamweaver (using Coldfusion) to display my data – there is a 6 point process in the ‘server behaviors’ tab and I’m up to the last one “press the (+) plus button and choose ‘Recordset (Query).

WHEN I SELECT MY DATABASE AS A DATA SOURCE IT ASKS ME FOR A "LOGIN ID" AND "PASSWORD."

I've tried all the passwords I can think of that I used and nothing works, the error message I get is:
"-1:Syntax error or access violation: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'wine like '%' at line 1. this is then followed by about 27 lines of commands like "at org.gjt.mm.mysql..".bladedblahdeblah "
(I am creating a database of wine tasting notes)

View Replies !
Error Accessing MS Access Table Linked To MySQL
I create the linked tables without any problems, clicking on "save password"
before selecting the desired tables. I can then access both tables fine from
within the Access GUI.

The problem starts when I then try to access this data from my ASP.NET web
application - classic ASP works fine but .NET gives me...

ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] ODBC--connection to
'MyDSN' failed.

From then on, the Access database remains locked (.LDB file in the same
directory) and I get a similar error when I run my ASP page, which
previously worked. Code:

View Replies !
SELECT `*` Not Work On New Server
I wrote some code a long time ago that used SELECT `*` from blah blah blah.
I'm building a new server with a new installation on MySQL 4 and for some reason this piece of code wasn't working. I looked into it, and turns out only SELECT * not SELECT `*` works on this new server. Now I realise this is probably my crappy coding, but is there some variable I can turn on/that is different between the servers that makes this happen? I've used this code on loads of servers and never had a problem, and would rather not go through all my code fixing this error

View Replies !
Data From SQL Server
How do I get data from my tables in SQL Server into my tables in mySQL
I have tried exporting the data out of SQL Server to a flat file (.txt), and
then import into the table in mySQL from the txt. For some reason, it bombs
and closes my GUI (mySQL control center)

View Replies !
Data From 1 Server To Another
i have 2 databases -- one a replica of the other. but they're on different servers. how's that for a twist?what i want to do is copy data from one table to another. how do i go about doing that when they're on different servers?

View Replies !
Data From Other Server
ther are two PC: PC1 and PC2
both have Mysql DB
i want to select data from PC2 DB and insert to PC1 DB.
how to write the command and any syntax??

View Replies !
Select Lastest Input To Data Base And Select Ordering From Last Member To First Member, Limiting Output Diplay To A Specific Number
how to display the latest members that signup to website, a query that that can select ordering them base on the last registered member to the first... then limiting output by say 50 members.

a sql statement that can select lastest input to data base and select ordering from last member to first member, limiting output diplay to a specific number

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved