(I apologize for my "ugly" english... :-)
I'm a beginner with Linux (Mandrake 9.1) and try to run my own local web
server. Apache 1.3.27 et PHP 4.3.3 are OK. The problem is MySQL...
I tried with the 3.23.56 version and the 4.0.1. Always, I recompiled.
I have installed also phpMyAdmin (once agin, in 2 versions) in order to
understand what happened. It is able to connect to the database but not to
read the data. I tried to "see" my datas with phpMyAdmin ("Browse") but my
browser gives me this message in agialog box: "Connection to host localhost
is broken".
In fact, in the bottom of the phpMyAdmin interface, it is said:
The additional Features for working with linked Tables have been
deactivated. To find out why click here.
When I "click here" I read:
PMA Database ... not OK[ Documentation ]
General relation features Disabled
My PHP scripts (there are ok on a running server) doesn't work correctly.
They can connect to the DB but are note able to read the data, the same
problem. I have a message:
Warning: mysql_fetch_arr ay(): supplied argument is not a valid MySQL result
resource in /home/** on line **
What's the problem? Could you help me please? If you need for more
informations, please ask, I have some things to say but I want to be sure
that it is worthy beacause it's not so easy to write in english for me...
(as you can see!)
Do you think is a permission promble on linux? A configuration error on
MySQL? Thanks in advance for your help! 6 3701
"barsepsi" <ba******@htoma il.com> wrote in message
news:3f******** @news.bluewin.c h... (I apologize for my "ugly" english... :-)
I'm a beginner with Linux (Mandrake 9.1) and try to run my own local web server. Apache 1.3.27 et PHP 4.3.3 are OK. The problem is MySQL...
I tried with the 3.23.56 version and the 4.0.1. Always, I recompiled.
<Snip>
Are you compiling everything from source or is Apache and php Mandrake RPMs?
"barsepsi" <ba******@htoma il.com> wrote in message
news:3f******** @news.bluewin.c h... (I apologize for my "ugly" english... :-)
I'm a beginner with Linux (Mandrake 9.1) and try to run my own local web server. Apache 1.3.27 et PHP 4.3.3 are OK. The problem is MySQL...
I tried with the 3.23.56 version and the 4.0.1. Always, I recompiled.
<Snip>
Are you compiling everything from source or is Apache and php Mandrake RPMs?
"sdfgsd" <sd**@sdg.com > wrote in message news:<ja******* *************** @twister.tampab ay.rr.com>... "barsepsi" <ba******@htoma il.com> wrote in message news:3f******** @news.bluewin.c h... (I apologize for my "ugly" english... :-)
I'm a beginner with Linux (Mandrake 9.1) and try to run my own local web server. Apache 1.3.27 et PHP 4.3.3 are OK. The problem is MySQL...
I tried with the 3.23.56 version and the 4.0.1. Always, I recompiled.
<Snip>
Are you compiling everything from source or is Apache and php Mandrake RPMs?
If you already have a 'mysql" user on the linux box, su - mysql and
[mysql@host_name mysql_home]/path_to_mysql/safe_mysqld. That works and
you don't need to start mysqld with --user option
regards
akr
"sdfgsd" <sd**@sdg.com > wrote in message news:<ja******* *************** @twister.tampab ay.rr.com>... "barsepsi" <ba******@htoma il.com> wrote in message news:3f******** @news.bluewin.c h... (I apologize for my "ugly" english... :-)
I'm a beginner with Linux (Mandrake 9.1) and try to run my own local web server. Apache 1.3.27 et PHP 4.3.3 are OK. The problem is MySQL...
I tried with the 3.23.56 version and the 4.0.1. Always, I recompiled.
<Snip>
Are you compiling everything from source or is Apache and php Mandrake RPMs?
If you already have a 'mysql" user on the linux box, su - mysql and
[mysql@host_name mysql_home]/path_to_mysql/safe_mysqld. That works and
you don't need to start mysqld with --user option
regards
akr If you already have a 'mysql" user on the linux box, su - mysql and [mysql@host_name mysql_home]/path_to_mysql/safe_mysqld. That works and you don't need to start mysqld with --user option
can I jump in here?
I've got RH 9.0
I've got mysql loading at boot
but
when I try the command
../bin/mysqladmin create testDB
I get
[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!
can you make some sense out of this.
what is this mysql.sock
thank you
craig If you already have a 'mysql" user on the linux box, su - mysql and [mysql@host_name mysql_home]/path_to_mysql/safe_mysqld. That works and you don't need to start mysqld with --user option
can I jump in here?
I've got RH 9.0
I've got mysql loading at boot
but
when I try the command
../bin/mysqladmin create testDB
I get
[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!
can you make some sense out of this.
what is this mysql.sock
thank you
craig This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Randell D. |
last post by:
Folks,
I have installed MySQL v4 (client, server and development rpm's). I've
tried and failed to use the recommended mysqladmin to set a root password
after the installation (I have another post open on the MySQL newsgroup
about this). I'm attempting an alternative solution and using webmin
(www.webmin.com) to create/manage access to my databases.
Webmin reports "Warning: The Perl module DBD::mysql is not installed on your
system, so...
|
by: Eric Raymond |
last post by:
When installing the rpms (or the tar file) onto Red Hat Enteprise
Linux AS Beta 1 (Taroon), we get the follwing error:
Installing all prepared tables
/usr/bin/mysql_install_db: line 1: 7690 Segmentation fault
/usr/sbin/mysqld --bootstrap --skip-grant-tables --basedir=/
--datadir=/var/lib/mysql --skip-innodb --skip-bdb
Installation of grant tables failed
The log file simply shows a start and a stop of the server.
|
by: Chris Moy |
last post by:
SEND-PR: -*- send-pr -*-
SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as
SEND-PR: will all comments (text enclosed in `<' and `>').
SEND-PR:
From: moyc
To: mysql@lists.mysql.com
Subject: Installation challenges - mysqld
>Description:
|
by: google account |
last post by:
*sigh*
I have done all that I know how....
I am using fedora core1, I believe. I have updated the MySQL version
to 4.0.17-0.
I am trying this:
rpm -i MySQL-python2.1-0.9.2-1.i386.rpm
|
by: Jim Williams |
last post by:
I am not able to get MYSQL running on Suse Linux Enterprise Server.
I tried stopping with the command mysqld and it reported, "Shtudown
Complete." Then when I tried to restart it with the command, "mysqld
–user=root" I get the response "mysql.host" doesn't exist. If I try
"mysqld – user=mysql", I get numerous errors.
I installed Suse Linux Enterprise Server 8 from CDROM and included all
options. I saw the MYSQL is part of the...
| |
by: Maxim. V. |
last post by:
Hello to everone,
As mentioned in this *guide(1), i've compiled mysql on my fedora Core
2 system, with the following spec's :
*(1) http://hulan.info/blog/index.php?itemid=576
--------------- bash START --------------
$ uname -a
Linux localhost.localdomain 2.6.8-1.521 #1 Mon Aug 16 09:01:18 EDT
|
by: Pugi! |
last post by:
On a freshly installed Fedora C3 (incl. webserver apache php mysql) i get
the following problem when connecting to mysql through a browser
(phpMyAdmin):
:
#2002 Can't connect to local MySQL server through socket
/var/lib/mysql/mysql.sock
On the website of MySQL this error is mentioned but I found no solution.
In /var/log/messages the following log occurs :
|
by: MLH |
last post by:
Using MS Access, I have attached to MySQL servers in other states
and other countries on the other side of my router. But when I use the
MySQL ODBC driver 3.51 to connect to a MySQL server on my own LAN,
the driver tells me it cannot make the connection. Here are the ODBC
driver connection parms:
Data Source Name: (free field - name my "my linux box" will do nicely)
Host/Server Name (or IP) - something like MSQLUserName@ServerName.net...
|
by: Bob Powell |
last post by:
To whom it may concern:
I find the recent articles in various trade publications a little
disturbing due to the lack of PostgrSQL mention. I continue to see
articles about how IBM may be considering MYSQL for development an
open_source web database.
Why isn't PostgreSQL being considered or talked about by major industry
giants? As a DBA I know that Postgres is far superior to MYSQL but if
the industry directs it's energies towards...
|
by: pc |
last post by:
hi everyone,
we have a server on which someone blew away the MySQL 4 progs directory
before installing MySQL 5. When installing MySQL 5 the installation
failed with an error stating that it was unable to create system tables
as the MySQL 4 directory did not exist.
We are now unable to uninstall MySQL 5:
# rpm -i
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |