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.





MySQL Server On Linux


I have MySQL server running fine on Linux Server(Ubuntu 6.06LTS). I need to connect Windows workstations to the MySQL server. I installed MySQL ODBC 3.51.14 driver on it.
When i try to connect the ODBC allways returns the following error:

[MySQL][ODBC 3.51 Driver]Unknown MySQL server host 'mysql' (11001)

I tried server names like 'mysqld', 'MySQL', ip address, combinations of linux server name and mysql name, and other characters like *.*, *:*, *:mysql, etc...

The MySql server is running fine on linux server, port=3306(default). The 'bind-address = 127.0.0.1' parameter on 'my.cnf' file is marked as comment.




View Complete Forum Thread with Replies

Related Forum Messages:
MYSQL Server In Linux
I have a SQL server on a Linux Fedora machine and I try to use a GUI to
connect to database
I used different GUI like "Toad for MySQL"
in connection page I put Linux IP address as "Server host" and
username/password I keep getting error:
Error No. 2003 Can't connect to MySQL server on '192.168.0.121' (10061)

My question is: Do I need a client installation or configuration on Windows
machine?

View Replies !
Hou Use MySql On Linux Web Server
Now the problum is that when i Host complete web site to linux server then my all web page is running but i dont no how use MySql database on Net.

Through cPanel i creat MySql database but i cant find database root i m not able to Host or copy my existing MySql database with table which is running on my Computer very fine

So please tell me process

1 have to simply upload my mySql database in Public Html folder or else where
i m using cPanel file manager to upload files

View Replies !
I Can't Start Mysql Server On Linux.
I'm triyng to install mysql server with rpm on a linux red hat 9.0
machine. The installation was succesfully, but now I can't start the
server. I think the right command is mysqld_safe --user=mysql but
during the starting procedure the server shutdown, it reports:

[root@psiche root]# mysqld_safe --user=mysql
Starting mysqld daemon with databases from /var/lib/mysql
040525 09:32:25 mysqld ended

If I try to rebuilt the grant tables using the mysql_install_db it
reports some errors: "asked for 196608 thread stack, but got 126976"
and "to start mysql at boot time you have to copy
support-files/mysql.server to the right place for your system".

View Replies !
Upgrading MySQL On Linux Server
I need to upgrade MySQL on my server. I've tried to find some tutorial, but Google found nothing interesting.

I wonder what is the easiest and most safe way to upgrade MySQL? I'd like to keep configuration (./configure params, configuration files etc) as is and to not hurt anything.

View Replies !
Unable To Connect To Mysql Server(Linux)
i have problem om my sevrer ( linux )
WHM 11.11.0 cPanel 11.16.0-S18450
REDHAT Enterprise 4 i686 on standard - WHM X v3.1.0

after update apache then all websites on server can not connect mysql
from WHM > Tweak Settings > Mysql > 5.0
and used old style (4.0) passwords with MySQL® 4.1+

also command /scripts/mysqlup
but no way still same error can not connect to Mysql

View Replies !
Access Linux Mysql Server From Windows?
Can I run a Mysql server on a linux box, and access the databases belonging to it over a lan from a machine running windows xp?

View Replies !
How Do You Install MySQL 5.0 Server And Administrator On Red Hat Enterprise Linux 3 WS
Could someone point me to instructions for installing MySQL 5.0 server and administrator on a Red Hat Enterprise Linux 3 WS system?

I just freshly installed the system and deliberately did not select MySQL serveras part of the installation I downloaded the 5.0 rpm Community Server edition, and that installed fine. My problems came while trying to build the administrator.

Basically, I got caught up in a loop of incompatable modules:

# rpm -i mysql-3.23.58-16.RHEL3.1.i386.rpm
warning: mysql-3.23.58-16.RHEL3.1.i386.rpm: V3 DSA signature: NOKEY, key ID 025e513b
error: Failed dependencies:
perl-DBD-MySQL is needed by mysql-3.23.58-16.RHEL3.1
MySQL conflicts with mysql-3.23.58-16.RHEL3.1
Suggested resolutions:
/var/spool/up2date/perl-DBD-MySQL-2.1021-3.i386.rpm

If up2date the suggested resolution, it says I need a library from mysql-3.23.58-16.RHEL3.1.i386.rpm.

I will gladly read the "manual" or docs, and would love a pointer to them.

View Replies !
Integrating Mysql, @mail, And Suse Linux Enterprise Server 9
I have recently received a admin job at a small web hosting company (small) and the current platform is windows and I will be responsible for creating a linux based platform and eventually moving all information over to linux form the windows setup.

The idea is like this run Suse Linux Enterprise Server 9 using 2 web server running apache, 2 email servers using @mail, and having 2 front end servers with 4 storage nodes clustered. This company also has some custom database query programs to retrieve information.

I might be in a tad over my head at this point, but that is ok there isnt an immediate rush on integration.

I am looking for any other admins that might be able to offer any opions regarding this basic setup or that might have this setup and offer any suggestions concerning the actual construction of this type of platform.

View Replies !
Linux Server V/s Windows Server ( WebServer - LAMP V/s WAMP)
My client wants to use WAMP ( Windows + apache + MySQL + PHP ). But the
site performance is very slow on windows. I dont know the exact
reasons.

I have seen some benchmark details on internet. But still they are not
having concrete facts to support LAMP as a better alternative to WAMP.
Allmost all the search done on google melts down to IIS vs Apache, My
main concern is "Apache on LINUX" v/s "Apache on Windows" and similarly
for PHP/MySQL.

View Replies !
In My Linux Server
What is the default server SQL mode when My SQL 5.0 is installed? Is there any available modes.

View Replies !
DML Of On Linux Server
We have MySQL 5 installed on Linux server.

If I defined a table and fields in mixed cases, the table name will be stored in lower case, how about the fields?

In the case of SELECT, UPDATE or other DML, do I need to use lower case for the table name and field names?

Or do they matter?

View Replies !
Windows To Linux Server
I am trying to set up a a Mysql driver on a linux server from a windows machine. I get the following error.

[MySQL][ODBC 3.51 Driver]Host '(server number)' is not allowed to connect to this MySQL server

Is it likely that the windows-linux combination is causing a problem here?

View Replies !
Exporting Database From A Linux Server
the following query:

mysqldump web15db1 > sql.dump

where web15db1 is the name of my database.

And i get a syntax error:
Quote:

View Replies !
Building A Db On Another Server From A Linux Machine
I'm running wamp on a XP machine, which is where my DB will be located.

I want to be able build a file containing a crapload of inserts on my linux machine. Is there an easy way to execute those inserts on the DB on the windows side?

I guess I could write a small PERL routine to open a connection, and send each insert line by line, then exit.

But is there any command line routine that can run on linux (fedora 5) that can initiate the connection, then pass it the file of inserts?

I'd like it to be command line, so it can be run from another application which would then run this from a shell.

View Replies !
Importing .sql File In SQL 3.23 On Linux 7.1 Server
I've got a .sql file and was going to import it into mysql.
The file contains around 30000 data but after i've typed:

mysql> source /xx/file_name.sql;

Table of the sql file is created but contains no data. But it poped an error notice without any message:

ERROR: <----like this

the .sql file is version 4.0. Is there any problems on version 3.23 while importing a v4.0 file? If so, could any brother please help on resolving this problem?

View Replies !
MySQL V4.0 -> Red Hat Linux 9
I'm having great problems trying to install the latest MySQl RPM
package onto my Red Hat Linux OS.

There is already MySQL v 3.0 pre-installed with the RH Linux
distribution disk but I can not seem to get any of the functions
working on it. So I have now dopwnloaded the latest version hoping
that this will fix the error.

I have managed to install the MySQL-shared-compat-4.0.1-0.i386.rpm but
i'm getting the following error message when I install
MySQL-server-4.0.1-0.i386.rpm : Code:

View Replies !
Mysql On Linux
I am interested in connecting to my MySql database that is running (default install) on FC4. I want to connect to the db with my Windoze machine using MySql Query Browser. Both machines are behind a router; the gateway is 192.168.0.1. The Linux ip address is 192.168.0.50 and the windows is 192.168.0.11 (both static). I guess I need to learn how to determine the mysql host and port when connecting. I thought it would just be 192.168.0.50 and 3306 respectively, it's not working.

View Replies !
MySQL And Linux
I am pretty new to the MySQL/Linux worlds. Each time I want to use MySQL, I have to start the program under the root account.

Are users other than "root" allowed to access the program? If so, how is it done? It would be nice if I didn't have to continuously log into root every time I would like to use MySQL.

View Replies !
Mysql In Linux
I have installed MySQl in linux and its working properly. I wrote an c++ program to connect to mysql database, which is capable of retrieving, deleting the values from database table. The problem i am facing is i am unable to insert values into the table at runtime. Can anyone please help me as to how to write the query?

View Replies !
How To Connect Remotely To Linux/MySQL Using MySQL Query Browser
http://dev.mysql.com/doc/query-brows...onnection.html

I'm trying to connect from my Windows based PC to a dedicated server which is running on Linux system.

I type server host and port 3306 user name admin + password and default schema and I get access denied message.

I use putty to connect to the server using IP and port 22 and it connects to the server.

What settings do I need to use to connect to MySQL using query browser?

View Replies !
How To Use A Copy Of A MYSQL 4.1 Database In MYSQL 5 Running On Ubuntu Linux
We had a "permanent world" game server running on an older PC, under Ubuntu 5.10, using a MYSQL 4.1 database to store persistent data for the players, then the hard disk quit. We did back up our data on a regular basis, but didn't use MYSQL to do the backups, we simply copied the MYSQL/data/ folder to disk.

So now we have a new hard disk, with Ubuntu 7.10 and MYSQL 5 installed. We have everything working, in that we have created the appropriate database and, using a simple test module of our game which will create some of the tables if they don't exist in the database, we can store and retrieve data from the database tables. The problem we have is how in the world do we get the data from the backup copy of the MYSQL 4.1 created database into the new MYSQL 5 database correctly? With 4.1 we could copy the contents of the database folder right into the database folder in the /var/lib/MYSQL/ folder, but this procedure didn't work with MYSQL 5. The files seemed to copy, as in the copy operation gave no errors, but we get an error that says the database is unavailable and to make sure the MYSQL server is running - it is, so we're stumped, and our game server is offline.

View Replies !
MySQL On Redhat Linux
To make a long story short, let me say I had MySQL working on Windows 98
and everything was fine. Well, I took the big leap and removed all
traces of Windows and Microsoft from the computer. (hooray!) Once I had
Linux running OK, I downloaded and installed MySQL using an RPM package.
I guess the server is running (it says it is every time the computer
starts and it stops successfully every time the computer shuts down)
however, I cannot figure out how to get the MySQL prompt.

I've searched the entire hard drive for MySQL, mysql, MySQL*, mysql* and
probably some others, too. The only thing I found was a shell script
called mysql that starts or stops the server if I am logged in to Linux
as root. I cannot figure out how to start the interactive program that
allows me to make select statements, inserts, updates, etc.
I'm wondering about some things:

Did I download and install the wrong thing?
Am I just not looking for the correct thing?

Did I install it incorrectly?

View Replies !
Mysql On Linux-gui Interface
Is there a GUI interface that is easy to install to manage MySQL on linux?
I'm trying add a user account and password to the db server but I'm not
having any luck from the command prompt.I'm trying to setup the nexus
discussion software.

View Replies !
Installing MySQL RPM On Linux
I am trying to install MySQL with this command:

rpm -ivh MySQL-server-4.0.13-0.i386.rpm

I get bunch of errors regarding conflicts with the existing
installation (files in /usr/share/mysql/.....)

1. Originaly mySQL was isntalled with Linux 7 install
2. I can't un-install mySQL via Linux Add/Remove program, I get an
error stating sthat shared library option must be selected (it's is
selected)

3. I have deleted /usr/share/mysql directly, but still have a problem.

View Replies !
MySQL, Linux, Ia32, >4GB RAM
I wonder if anybody here is using MySQL (3.23.56?) on a linux/intel ia32
(e.g., Xeon) with more than 4 GB RAM? Did you find a performance
enhancement? With PAE mode on? How does this affect MySQL - being a
multithreaded process, is there any benefit in having all that extra
memory as anything other than a big disk cache?

View Replies !
Mysql, Linux Or Windows
Does mysql work on windows or it has to be on linux only?

View Replies !
Mysql, Linux Or Windows?
Does mysql work on windows or it has to be on linux only?

View Replies !
Connection To MySQL On Linux
I am New to Linux PHP apache and MySQL (following the Book, Begining.PHP,
Apache, MySQL Web Development). Got as far as chapter 3 without too many
problems. Well no I'm stuck. I get the following error

Warning: mysql_connect(): Can't connect to local MySQL server through
socket '/tmp/mysql.sock' (2) in /usr/local/apache2/test/createmovie.php
on line 4

Database connection error, check your server connection

when then following piece of code is executed

$connect = mysql_connect("localhost", "mysql", "mysql" ) or die
("Database connection error, check your server connection" );

I'm, A bit lost about which file the path is stored.Has anyone came across this similar problem and found a fix for it?

View Replies !
User Mysql On Linux
I´m using Red hat Enterprice WS 3, when I install mysql (version 4.1.7) on linux, everything ok, but when I type
# mysql
error ocur:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

View Replies !
Mysql And Linux Script
I need your help with this. I am trying to write a linux script where I can connect to mysql database, use the select statment (count(*)) to get the number of rows, and store the results in a variable. Can you tell me how to put the result in the variable?

View Replies !
Mysql And Linux Users
I installed mysql using rpm.
But I did not create a user for mysql.
Mysql manual says something like that I should create a group and a user called mysql and that user should own the data directory. I do not understand that exactly.
At the moment my mysql data directory is owned by root.
Is it ok and do I have to create a user and group called mysql.
Can you please tell me exactly what I should do?
Other thing is as what user should I run mysql.
WHat should I use for the --user option and --pid option.

View Replies !
Mysql Error On Linux
You have an error in your SQL syntax near '(course INNER JOIN round ON course.CourseID = round.CourseID) ON league.LeagueID' at line 1
I get this error when I run on linux..
Code:
$SQL="SELECT RoundNum, RoundDate, CourseName, LeagueName, Format FROM league INNER JOIN (course INNER JOIN round ON course.CourseID = round.CourseID) ON league.LeagueID = round.LeagueID Where RoundID=".$RID.";";
Can Anybody help please?
I also have another optional question.
I cam across a sql function "FIRST()" Does anybody know the MYSQL equivalent?

View Replies !
Mysql Is Not Using ENOUGH Memory On Linux
Running mysql 3.23.56-1.9 (yes , upgrading soon!) on red hat.

Our database:
- data is 5GB or so
- has approx 2GB of indices

We have 4GB of memory on the machine. At least 2.5GB of that is free+cached

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
set-variable = key_buffer=500M
set-variable = myisam_sort_buffer_size = 64M
set-variable = table_cache=600
set-variable = join_buffer=1M
set-variable = thread_cache = 8
set-variable = sort_buffer =4M
set-variable = record_buffer=4M
set-variable = thread_cache_size = 64
set-variable = thread_concurrency=8
set-variable = max_allowed_packet = 16M
set-variable = tmp_table_size = 64M

But, no matter how much memory I set for key_buffer in /etc/my.cnf, mysql seems to use very little of it after running millions of queries:

14951 mysql 15 0 226M 221M 1308 S 3.3 5.5 89:55 0 mysqld

View Replies !
Perl/mysql On Linux
i am not getting the output for the following code (given below) in apache server on linux.
but i do get ouput in perl interpreter please replay me .
vinaykumarms@rediffmail.com





#!/usr/bin/perl
print "ContentType: text/plain

";

use DBI;

# Connecting to the database
# Replace DATABASENAME with the name of the database,
# HOSTNAME with the hostname/ip address of the MySQL server.
$drh = DBI->install_driver("mysql");
$dsn = "DBI:mysql:database=vinay;host=localhost";
$dbh = DBI->connect($dsn,"","");

# Select the data and display to the browser

my $sth = $dbh->prepare("SELECT * FROM login");
$sth->execute();
while (my $ref = $sth->fetchrow_hashref()) {
print "Found a row: id = $ref->{'id'}, name = $ref->{'name'}
";
}

$sth->finish();

# Disconnect from the database.

$dbh->disconnect();

View Replies !
Linux Mdk Rpm MySql Installation
I just installed from rpms MySQL on a Mandrake10.1.
I can't get trhough the
can't connect to Local MySQL server through socket "/var/lib/mysql.sock" (113)
There were already mentions to this problem but no solution on the forum.
Could it be possible to tell us how to go through??
I've got a mysql.sock in the good path but it's 0bytes.
If you don't know the solution, would it be possible to send a copy of your mysql.sock?

View Replies !
Reinstalling Mysql On Linux
Hi I'm running MySQL under debian and was wondering how I can uninstal it. So that I can do a fresh install of MySQL.

View Replies !
Linux And MySQL Access
I know MySQL account has nothing to do with Linux system account.

I just wondering is there a way when I creates a new Linux account it will automatically creates a MySQL database account?

Or do I have to write my own shell script to do that?

View Replies !
Uninstalling MySQL On Linux
I recently manually installed MySQL on linux/fedora 5 which caused problems as MySQL is built into the the RPM. Therefore I would like to uninstall my version of MySQL and revert back to original.

As I am new to Fedora can anyone point me in the right direction to help me uninstall MySQL as there does not appear to be an unistall package/function.

View Replies !
Intalling Mysql On Linux
Before I begin, can I just state I have never installed anything on Linux server, so I am very new to this...

Okay at the mo I have and using MYSQL version 3.23.58 on my Linux Sever, incase this is important, heres the details of my server: WEB SERVEUR
Platform : Small - Fedora Core 3
Control panel : Plesk 100
Config : AMEN 2400 - AMD Athlon XP 2400+ Disk: 80 Gb - Memory: 512 Mb

OK, I need to upgrade to the latest MYSQL version. So far, I have downloaded "mysql-standard-5.0.24a-linux-i686.tar" and unpacked the file uner /usr/local

This is where I am stuck, I have no idea what to do next.. I need help for someone never done this before, preferbally a guide like... STEP by STEP, type this, then that etc.

View Replies !
Installing MySQL 5 On Linux
I have just been asked to install MySQL on a server which only has command line access.

Despite having used MySQL on Linux for quite some time I have never carried out command-line installation before.

The server is Redhat 9 and does not currently have any version of MySQL installed.

Can anyone point me in the direction of a comprehensive installation guide which begins with post login via ssh which is where I can currently get to.

ie..I need to know, how to download it AND how to then install it.

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 !
Installation Problem Mysql 4.0.13 On Red Hat Linux 6.2
I am facing problem in installing the mysql 4.0.13 on my
linux 6.2 machine . I have pentium III server. When i give the command
rpm -ivt MySQL-server-4.0.13-0.i386.rpm it give the message " Only one
major mode may be specified "

I tried lot to install the mysql ver 4 on my machine but could not succeed .

View Replies !
Compiling Mysql For Arm On I386-linux
I am hopping to get mysql compiled for arm in an i386 redhat pc.

I have the cross compiler and some arm distribution, the version of the
gcc is 2.95.3, and mysql distribution is 3.23.57. (I also tried 4.0.14 withthe same
results/error)

I do a:
../configure --prefix=/usr/local/arm/arm-linux --host=arm-linux
--build=i386-linux

and after a while I get an error:
===============================================
:
checking "return type of sprintf"... configure: error: cannot run test
program while cross compiling
=====================================

View Replies !
Mysql Access Yellow Dog Linux
i have a problem similar to others in this group but this is a little bit
different. i am running mysql on my yellow dog linux server, but for some
reason whenever i try to connect, it gives this error:
[root@powerpig root]# telnet localhost 3306
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
NHost 'localhost.localdomain' is not allowed to connect to this MySQL
serverConnection closed by foreign host.
[root@powerpig root]# .

View Replies !
Linux Mysql 'localhost' Failed
RH 9.0

user mysql
command /usr/sbin/mysqld

mysql is being loaded at boot. the previous is listed when I check
what process are running with < ps -aux >

however:
[craig@localhost mysql]$ ./bin/mysqladmin version
../bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!

is telling me that it isn't running ??

View Replies !
MySQL On Proprietary Linux Distributions?
I wanted to find out what MySQL administrators think about MySQL
installation on RedHat and other Linux distributions with the use of
RPM. RedHat reallocates all MySQL files into different places in the
file system. Is it easier to learn MySQL administration on a non-RPM
MySQL installation?

Are the standards that are used in books,
articles and guides more relevant to non-RPM installations? I get a
sense that it's better to learn MySQL administration on a
non-RH/non-RPM install, or any other system that doesn't allocate
MySQL files in different places in the file system.

Also, is it OK to install MySQL on RedHat system without the use of
RPM? Are there any disadvantages?

View Replies !
Is MySql Syntax Different On Windows Vs. Linux?
On our team, we're working on a database. One copy is on the PC. The other copy is on Linux. I wanted to send a new table to the Linux guy. I went into MySQL Query Browser, did a "Copy CREATE statement to clipboard", and pasted the SQL code into a new email and sent it to my Linux guy. He tells me that the code fails every time. Here's what It looks like:

View Replies !
How To Check The Mysql Directory On Linux
a linux server and installed a mysql server on it.

But I don't know where the mysql installed.

How can I know the directory that mysql installed?

View Replies !
Jabber On MYSQL + Linux Mandrake 10.0
I'm having problems runnig this command. string is below:

I have installed a Jabber Server on my Linux Machine,...and everything is working fine except when I get to this portion. I have to add this command to create my Jabber database, so this is what I have.

Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 19 to server version: 4.0.20

mysql> GRANT all on jabberd2.* to jabberd2@localhost INDENTIFIED by passwordgoeshere;

ERROR 1064: 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 'INDENTIFIED by' at line 1
mysql>

View Replies !
Creating Databse In Mysql On Linux
am installing a tool for quizz on linux...trying to take a exam on-line on LAN for this i need to create a database in mysql ..so here i got stuck up.

View Replies !
Running Queries To Mysql In Linux
How i use mysql in linux without the client and with it?

View Replies !

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