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 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 Complete Forum Thread with Replies

Related Forum Messages:
What Is A Command For Displaying Mysql Users? Command Prompt Console
What is a command for displaying mysql users? command prompt console?

View Replies !
MySQL Command Line Prompt
In DOS mode, we can use for example dir/w-p to break the whole page to sub-page.
In MySQL prompt window, when I type "show variables", it blooms about 190 rows, but I can't scroll BACK to first 1-50 rows, by resizing the prompt windows it won't help.
So, I think is there any additional keys for pause the page like DOS mode?

View Replies !
Login To Mysql Using Command Prompt In Winxp
I have installed wamp server on my computer. Now i want to connect to mysql using command prompt.

When I try it on command prompt . I receive following message.

C:Documents and SettingsIbm>mysql -h localhost -u root -p
'mysql' is not recognized as an internal or external command,
operable program or batch file.

View Replies !
Can't Connect To MySQL Server From Command Prompt
I have installed MySQL on WinXP Pro

When attempting to access various commands from the command prompt (eg help, set password etc) I get the following error.

ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)

When trying to access the MySQL server via a local web page I am also unable to connect to the database.

I have successfully installed Apache 2.0.35-win32-x8 and PHP.

View Replies !
Cant Connect To Mysql At Command Prompt Error
please see attached file for error.

im a beginner. im following php/mysql book from site point. ive searched the forums already but couldnt find the solution.

i just installed IIS on windows xp, mysql and php.

im at command line and i get these (profanity removed) darn error messages. after 1 hour of re-reading chapters of the book i decided to bother you with this problem

in the book it says to check mysql is running by pressing ctrl +alt + del. then in "tasks" you should see "it" running. a) there is no tab called tasks when you press ctrl + alt + del. b) what is "it"

so i assume it (mysql) is running, since i dont really know because the instructions arent that clear for complete (profanity removed) silly billies like me

in another thread someone said "turn off your firewall then try again" - did that, didnt work

then from the command prompt i keep being told it cant connect (see screenshot)

View Replies !
Running Existing .sql File In Mysql Command Prompt?
I've seen "examples" of this in my book on MySQL, but it just shows the file on the prompt. It says that I can run an existing sql file - for creating a table - right from the prompt.

However, it doesn't really explain how to do this in detail. I've tried :

-h host - u user -D database -p < myfile.sql

but it gives an error. How do I point it to the right file on my system?

View Replies !
How To Use The Command Prompt?
I am using openSUSE 11.0. I am a student in 3rd year of my computer science course. We have the database labratory this year and the college uses oracle. However I think that the queries that we use are pretty common to be used on any databse. I do not want to install another PIRATED copy of the Oracle DB and slowdown my Windows installation as I already have a Linux system running it.

My question is:

How do I use the mysql prompt to execute my sql queries? Is there any prompt which will allow me to input the queries directly via keyboard and show me the output there (much as the 'show databases' command does) on the prompt? If yes then how to do that?

View Replies !
Command Prompt And Numerics
I use command prompt with mysql. I use then command

select format(1056.99701245,2);
1,057.00
How can I set the enviroment so I can see
Code:
1,057.00
as
Code:
1.057,00
.
Meaning '.' to covert as ',' and '.' as ',' ?

Can I change it via windows settings?

View Replies !
How To Clear The Screen Like Cls In Windows Command Prompt
what is the command or way to clear the screen in mysql in windows. i tired like ....

View Replies !
Problems Executing .sql File From Command Prompt
I am having problems executing a .sql batch file from the mysql command prompt. I can run this file through SQLYog and i have no errors/problems but if i try and run the batch file through the windows command prompt (after connecting to the mysql database) i get a problem as soon as i try to change the delimiter back to ;

Has anyone else had problems with this?

View Replies !
Command Prompt :: Window Appears And Then Immediately Disappears On Windows XP
I am completely new to MySQL and have recently loaded the 5.0 community version on my desktop PC under windows XP. When I execute MySQL, the MySQL command prompt window appears and then immediately disappears. Can anyone tell me why this is happening and how to resolve?

View Replies !
Can't Get To Mysql Prompt
I just installed mysql, set a password on the root account, and tried logging in with:

# mysql --user=root mysql --password [rootpassword]

I get several pages of output, and then it drops me back to the shell prompt. I need to start configuring user accounts, etc., and the docs provide instructions on how to do that from the mysql> prompt. How do I get it to 'keep' me in mysql,

View Replies !
How To Log Into The Mysql Through MS DOS Prompt
I had tried to login through the MS Dos Prompt mysql console

mysql -u root --password b
Enter password: *
ERROR 1049 (42000): Unknown database 'b'

The above is the output

What is the correct way to login.

View Replies !
Input Prompt Or Mysql
How do I prompt a user for input using mysql. I want the user to be able to input a a person's name which will then cause a query to run giving the required details. I was given this example to work from (from an oracle handbook) but it doesn't seem to work in mysql:-

select empno from emp where mgr = &Mgr_no;

View Replies !
Online MySQL Prompt
My host provides me with its own MySQL prompt, called phpMyAdmin (in cPanel). It is quite hard to use, because it keeps on jumping to different pages after each prompt and incorrectly names my databases as "username_whateverINameIt". Is there any way to use a regular MySQL prompt (DOS style) as is directed from my book?

View Replies !
MySql Command Line Makes Loud Noise After Each Command
My Dell laptop generates a very loud error tone after every command executed in MySQL command line monitor even though I've turned the speakers off.

View Replies !
Not Seeing MySQL Prompt In Emacs Sql-mode On Windows...
I've been using emacs sql-mode for some time now (with MySQL) and love it.
I've used it on both Windows and FreeBSD (sadly I do most of my work on
Windows though) and have noticed that the output the prompt and output on
the Windows machine isn't displayed, but is displayed on the FreeBSD
machine......

View Replies !
MySql To Prompt A User To Enter Input
Is there anyway in MySql to prompt a user to enter input and have it populate another table?

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 !
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 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 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 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/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 !
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 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 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 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 !
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 !
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 !
Slow To Get "C:/mysql>" Prompt
I'm setting up MySQL, Apache and PhP on my pc - Win98, 128meg to work on a project.

My problem is this - I have installed MySQL and find that if I go into it via the DOS prompt (C:/mysql/bin/mysqld) it takes at least 10 minutes before the C:/mysql> prompt appears and I can start using it ... this I'm sure is not right ? I have tried with the mysql admin tool but it too takes ages to load ???

View Replies !
Cmd 'Prompt'
I've recently had to re-build my dev box and as part of the re-build I've re-installed v4.1 (for Windows). I'd previously had v4.1 BETA installed and in that I had a my.ini file setting that customized the cmd prompt to show the current database and user. The trouble is that in the production version of 4.1 the same ini file setting has no effect. I'm using an ini file setting of

[mysql]
prompt=u@h-d>

This definately worked for me in 4.1 BETA and it's what the MySQL documentation state is the way to do it. Once logged in I can manually make the setting by doing:

mysql> prompt u@h-d>

View Replies !

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