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.





JOIN Issue On WIndows Install But Not Linux Install


I am using MySQL 5.0.15 on windows and cannot run this query:

SELECT a.*,b.name, c.fullname,d.fullname FROM access_authorization a, building b
LEFT JOIN users c ON a.createdby=c.id
LEFT JOIN users d ON a.modifiedby=d.id
WHERE a.sortcode=b.sortcode AND a.sortcode like '1,2,1,6%' LIMIT 0, 25

I receive:
ERROR 1054 (42S22): Unknown column 'a.createdby' in 'on clause'

But this query DOES work under my linux 5.0.0-alpha!

I can modify the SQL Statement to the following and it works fine:

SELECT a.*,b.name, c.fullname,d.fullname FROM access_authorization a
LEFT JOIN users c ON a.createdby=c.id
LEFT JOIN users d ON a.modifiedby=d.id
RIGHT JOIN building b ON a.sortcode=b.sortcode
WHERE a.sortcode like '1,2,1,6%' LIMIT 0, 25 .




View Complete Forum Thread with Replies

Related Forum Messages:
After Install Cant Select Install As Windows Service
i cannot configure MySQL to install as a windows service. NOR can i get the blasted thing to let me setup a user name and password. how do i correct this ?

View Replies !
Linux To Install
I am creating a dedicated DB server running mysql. What is the best linux to install for this?Also the db server will have its own ip is there any other additional security measures that should be taken?

View Replies !
Root Password Issue At Install
Having a problem setting up a password for MySQL. The reported problem when attempting to set up a root password is;

C:mysqlin>mysqladmin version
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to MySQL server on 'localhost' (10061)'
Check that mysqld is running on localhost and that the port is 3306.

You can check this by doing 'telnet localhost 3306'
When checking this:

C:mysqlin>telnet localhost 3306
Connecting To localhost...Could not open connection to the host, on port
3306:

Connect failed

View Replies !
Linux Install :: Gcc:cannot Specify -o With -c Or -S And Multiple Compilations
I GET AN ERROR MESSAGE WHILE DOING MAKE OF MYSQL

ERROR GOES SOMETHING LIKE THIS:

Error while make in Mysql exit 1;fi
gcc:cannot specify -o with -c or -S and multiple compilations
[make 2]; ****[my_new.0] error1
[make 2]: leaving dir /usr/local
[make 1]: *** [all-recursive] Error1

i have tried using 2 diffrent versions of mysql
i am build a LAMP configuration on my pc with rhl9 in text mode using
CFLAGS="-O3"
CXX=gcc
CXXFLAGS="-O3
-mpentiumpro
-mstack-align-double
-felide-constructors
-fno-exceptions -fno-rtti"
./configure
--prefix=/usr/local/mysql
--with-extra-charsets=complex
--enable-thread-safe-client
--enable-local-infile
--enable-assembler
--disable-shared
--with-client-ldflags=-all-static
--with-mysqld-ldflags=-all-static

View Replies !
Install On Windows XP
I cant get mysql to run on my winXP computer. I have downloaded it and
installed , unzipped and run setup.exe and placed it in c:mysql.
I type the command to start the mysql server
c:mysqli mysqld --console

It opens the console and then the console shows some inoDB commands and the
console hangs.

I followed the mysql manual and i cant find the answer
there is no command prompt and nothing...how do I run mysql?

View Replies !
Cannot Start New Install Of MySQL On RedHat Enterprise Linux
I've recently installed MySQL and PHP using YUM on a RedHat Enterprise Linux (RHEL 3) box. The output from rpm -ql | grep -i mysql shows the following are installed: Code:

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 !
Sharing MySQL Install Between Multiboot Machines (windows)
On Windows, I multiboot W2k, WXP. All 2 have MySQL install but in different
directories and partitions. I (unfortunately) also have 2 instances of one database.

Is there a way for MySQL to share a common installation and database?

I suppose it is possible. If so, and if I install MySQL in W2K first, what are the steps to
import the database install into XP?
Will I need to install in XP again, and just import the databases? Or just create a
windows shortcut to database directory so it's automaticaly imported into XP MySQL?

View Replies !
First Time Install On Windows - Admin User&password Problem
I have a problem with logging in to MySQL. Access denied.

I think the issue is with the host, user and password settings. I assumed you had to add this information to the my.ini before you started the service for the first time. Is this only for WinMySQLAdmin? Is there a default?

I have tried all the solutions I could find but they seem to all require user privileges in the first place.

I simply need to have one main admin user and password and to refresh their values to be certain of the new settings in case there was one before.

View Replies !
Install
I have mysql installed and have two problems/questions:

1. When I go to start up mysql I receive the following: error 2002 (hy000): can't connect to local mysql server through socket 'tmp/mysql.sock' I have been searching the net for help but haven't found the answer.
2. I want to have mysql start on start up - do I have place a command in /etc/rc.local? If so what?
3. Simiarl to #2, but when I want to start mysql, I have to go to the directy /usr/local/mysql/bin and start mysql that way. I know there is a way to just make it so you can type the mysql command anywhere and logged into mysql

View Replies !
How To Install?
This question will most likely seem unintelligent to you, but here's the basics:

I'm doing web design for an organization, I want a mysql database on their server, I have access to this server via ftp, I know the server is Apache...

How on earth do I install mysql on this server so I can start designing a database? I've tried desperately to find a simple solution, but every resource I find is too complex... can anyone explain in simple terms, or perhaps point to a very beginner tutorial on how to get started? Can I even do this myself, or do the people who run the server have to install one for me?

View Replies !
Install 3.23 On Mac OS X
The manual gives instructions for 4.x, but I want to use my Mac as a testing environment running the same version as my server, which is running 3.23.53.

I'm running OS X 10.3.8 on an eMac, which is still pretty close to the factory install. I'm currently using MySQL with PHP on the server, but I just don't know how to get it running on my Mac. I'm a newbie to Unix, so I don't even know how to get the "shell>" prompt on the Terminal, which is where most instructions begin.

View Replies !
New Install
New install on Windows, MySQL version 4.00.x, i got through a few obstacles, but I'm stuck on this error:

"041012 0:16:33 Fatal error: Can't open privilege tables: Table 'mysql.host' doesn't exist"

Where do I go from here?

View Replies !
First Install
I'm trying to install mysql on my linux box for the very first time and can't seem to get it going. I downloaded the mysql app to a /downloads folder i created on the / of the linux box.
I then right clicked what i'm thinking is the setup icon and clicked install and it appeared to install the files. Yet when I navigate to the /var/lib directory I don't see the mysqql files.

I'm thinking I may have messed up by creating and downloading to this directory. Can someone help me out on this or point me to a well documented source?

View Replies !
Mysql RPM Install On FC4
I have just installed MySql 5.0.18 on a fresh installation on RH fedora core 4 using RPMs but the service won't start. Any ideas, can I see a log of why its failing anywhere?

View Replies !
Is Version 5 Ok To Install?
I am currently using MySQL 3.23 for a live web site. I have new
queries that need UNION provided in v4.0.0+. It's a simple db with 5
tables and doesn't perform any e-commerce type transactions. All of
the 7 tables are of type MyISAM. So I have to upgrade MySQL on the
live server.

Q: Do I install to 4.0.12, or 4.1, or 5.x ? Because the application
is simple - is version 5 safe? My guess is that the core of the
server engine would be much the same for simpistic queries?

What are other people experience and thoughts on this? I understand
that safest would be version 4, then 4.1, then 5 - however it would be
nice to have 4.1's ability to do subqueries and derived tables.

View Replies !
Version 5 Install
I am currently using MySQL 3.23 for a live web site. I have new
queries that need UNION provided in v4.0.0+. It's a simple db with 5
tables and doesn't perform any e-commerce type transactions. All of
the 7 tables are of type MyISAM. So I have to upgrade MySQL on the
live server.

Q: Do I install to 4.0.12, or 4.1, or 5.x ? Because the application
is simple - is version 5 safe? My guess is that the core of the
server engine would be much the same for simpistic queries?

What are other people experience and thoughts on this? I understand
that safest would be version 4, then 4.1, then 5 - however it would be
nice to have 4.1's ability to do subqueries and derived tables.

View Replies !
Install On Redhat 9.0
Could someone tell me how to install mysql in my home pc which runs redhat 9.0 as a operating system.

View Replies !
Install ByteFX In IDE
How should I correctly install ByteFX in VS.NET IDE? I just used
Tools-> Add/Remove Toolbox Items.. and add ByteFX.MySqlClient.dll to
Toolbox. What should I do with ByteFX.MySqlClient.Design.dll? I asked
because once I read in microsoft.public.dotnet.framework.adonet mail
like this:
‘(…)ByteFx.Data.dll, it shows at design time a dialog to create a
MySql connection string (…)'
And I wondered why I didn't have this in my IDE.

View Replies !
Install New Version
I would like to install the new versin of mysql but currently i have mysql version 3.23 running...I need to have 2 version of mysql running at the moment in win2000 for different app.what is the steps for me to install the new version of mysql without causing error and able to run concurrently.

View Replies !
Install On Xp Home
I'm trying to install mysql on win XP home with service pack 2. I've used the installer numerous times on win server 2003, xp professional and win98, but it doesnt want to work with xp home.Is there any known issues with xp home? I click on setup, my cursor changes for a split second to an hourglass, but thats it!

View Replies !
MySQL Install
I am having a program created for me but it is not working. My programmer claims it is because MySQL is not properly running. He says I should see lights from MySQL in the task bar, but I do not.When I run services.msc it says "mysql" "started"

View Replies !
MySQL/PHP Install
Forgive me if I'm being an idiot, this is my first time installing anything on Linux (RedHat 6.2).

I successfully installed MySQL (3.23.32) using the rpms (I created a test db that works fine). Now I'm trying to install PHP (4.0.4pl1), but configure gives me the following error: cannot find [mysql] header files under /usr/bin. I'm using the option --with-mysql=/usr/bin because the rpms installed everything there, instead of /usr/local/mysql, which is where I would have installed it if given an option. Poking around I found the header files in /usr/include/mysql, so I tried to specify the option --mysql-includes=/usr/include/mysql, but configure says that's an invalid option.

View Replies !
Username On Install
The *** thing wont let me in, so secretive are these clever sprites!
Installing mysql is simple enough (latest version), apache and php work together happily - but not mysql.
My problem seems to be the username, as the basedir (default) and the datadir (my own within My Documents) should be OK in the my.ini file. But nowhere did it ask for a username.
When I try to connect it says 'No way, go away root@localhost' and whatever I try in place of 'root' - it still wont play.
Where/when can I choose the username to force it, screaming, to let me connect to it
(Win XP, mysql-essential-4.1.11)

View Replies !
Download And Install OSX
I have downloaded the mysql-standard-5.0.24a-osx10.4 .tar archive from the MACOSX section of the download page and expanded the archive using Stuffit Expander 10.0.2. From what I understand I am supposed to end up with .dmg disc image file from which to install Mysql 5. However the archive expands into a number of folders with no .dmg file.

View Replies !
How To Remove SQL 3.X And Then Install SQL 4.X?
I have downloaded and installed Redhat Linux Fedora 3 which comes with MySql 3.23.58.13 pre-installed. I would like to upgrade this to the latest version of MySql. Having read the documentation section it says that i need to completely remove the old version of MySQL before i attempt to install the new version. Since I am new to linux and MySql does anyone know how i can remove it in full and then get started with an installation of the latest version?

View Replies !
Which Version To Install
I've got a book to teach myself MySql and i need the software.
when i go to the website there are so many different versions to download. Which one should i use?

View Replies !
Simple Install
i want to install mysql-max version from the tar file i downloaded. i wish to use it sql node in cluster. so i followed the instructions in chap 15 mysql ref manual.
but could not find specific instructions to install sql node. and how to configure the my.cnf .

View Replies !
How To Install MySQL 5.0.37
Please anyone explain step by step to me how to install MySQL 5.0.37 ? I downloded "Windows installer" and "Mysql noinstall 5.0.37".My platform is .NET 2005 with Windows XP professional.

Which one is first install? i want to my syatem act as a server and other three systems as client.

View Replies !
Cant Install Mysql
Every time I run the mysql instance config.exe it stops at the 3rd step and it says " can not create windows service for mysql. error 0. I have no idea what this means and why I'm getting this.

View Replies !
Install Connector
I must connect with .NET to a MySQL-DB. But the MySQL-DB is not on my local developer PC but on a server in our Windowsnetwork. Where must I install the ODBC or .NET connector, on the local developer PC or on the DB-server ?

View Replies !
MySQL 5.1 Install
I'm a complete newbie and I've just installed MySQL. The application package defaulted the installation to my main drive, but installed the pieces into Adobe Version CS2 Que/data directories. There are pieces of it strewn all over the place. How can I uninstall it, and where should I direct it to be installed. The install 'package' gave me no options other than my main drive.

View Replies !
Cannot 'USE Mysql' In New 5.0.45 Install On Mac
After a new install on a Mac, I cannot USE the mysql database. Even though I cannot USE it, I can select from it.

Sean
====================================

$ mysql --user=root
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 6
Server version: 5.0.45 MySQL Community Server (GPL)

mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| test |
+--------------------+
3 rows in set (0.00 sec)

mysql> use mysql
ERROR 1049 (42000): Unknown database 'mysql'

mysql> select User,Host from mysql.user;
+------+-------------+
| User | Host |
+------+-------------+
| root | 127.0.0.1 |
| root | 174.6.1.4 |
| root | localhost |
+------+-------------+
3 rows in set (0.00 sec)

View Replies !
JDBC Install
i have recently installed MySQL 5.0.67 on my Mac OS X 10.5.5. I want to connect my web application to a database. I was hoping that someone might point me in the correct direction to get this sorted.

View Replies !
New Install On W2K Machine
I installed mySQL4 on a W2K machine and I'm able to connect from the c:mysqlin command line, I type mysqlshow and see test as the only database. I was reading the documentation online here and it showed a table mysql. Is that a system table that is required? Did something go wrong in my installation or is this ok?

View Replies !
No Service In 98 How Install?
I'd really like to stay with win98. How do I set it up? I can't do the menu it grays out the install as service part.

View Replies !
Mac (OSX) Can't Not Install MySQL
If i click on the link at THERE ARE DIFFERENT results:

Here is result #1

I get a message...........

"Internet Explorer does'nt know how to handle the type of file you have selected. You can choose to save this file to your disk or you can configure a helper application."

Hre is result #2

I get message............

The file "mysql 2" does not appear to be compressed or encoded. The application "StuffIt Expander.app" might be able to open this file. Would you like to try opening the file using "Stuffit Epander app"?

- I try over and over and the above message keeps poping up!

Here is result #3"

I get message............

"Couln't open the file "mysql 2" because it is not a file that QuickTime understands"

View Replies !
Is There A Right Way To Install MySQL?
I want to create a web application in Dreamweaver with MySQL, PHP and/or Coldfusion. Is there a right way to install these into my Windows XP system, I mean should I install first MySQL followed by PHP and Coldfusion? Also, should I install Apache also? What about IIS? And last, it is better to run Apache with PHP or ColdFusion with PHP.

View Replies !
Win XP Install Error
I downloaded MySQL5.0.18 Windows (x86) with installed. Installed and got error when trying to start service "Error:0". I removed MySQL and tried it again, same results. Removed it again. Downloaded MySQL5.0.18 Windows Essentials (x86) got the same results, "Error:0" service not started.

I have used Access for a number of years but have never used "MySQL" and my son wants to put some databases (6 or 7 tables) up on a server for his web site.

View Replies !
Install Location
I am going to be installing MySql on a Netware 6.5 server. We will be using MySql with Novell Audit 2.0. Can you change the location of the install folder for MySql. I would like to install it on a different volume than SYS. I have downloaded MySql 5.0 or should I used the MySql that comes with NetWare? I believe its 4.0.

View Replies !
4.1.18 Pro Version Install
I have been working with an install of MySQL on a MacOS 10.4 server. I need to have the Pro version installed of MySQL. I have purchased a MySQL network account and am able to download and install the pro version 4.1.18. However in my MySQL Administrator when viewing information it is displayed that I am running MySQL server version 4.1.10a (is it not supposed to also state that it is the Pro version here?) and my client version is 5.0.xx. What gives that neither of these versions match 4.1.18? I have reviewed the install in the /usr/local/mysql directory and all seems correct and my symbionic link appears to point new my version 4.1.18 install.

View Replies !
Winmysqladmin Install
just downloaded mysql-5.0.19-win32.zip installed fine - should i have winmysqladmin with this .zip file? if so where does it go on install? or is it a different download..?

View Replies !
Install & Use MySQL
I'd like to create a FORUM site for an existing web site and would like to use mySQL for the database. The existing web site currently uses MS Access DB and it's working well. HOwever, for a FORUM site, I believe I will need a more robust DB management system.

View Replies !
Xampp Install
I installed MySQL through the Xampp install. My problem is administering the databases. I am using Ubuntu (like Debian) and installed the MySQL Administrator package that gives me a GUI admin prgram.

Problems:
1) I can't connect to the localhost database in the GUI admin program
2) I don't know what my username is.
- Xampp provides a web-based admin program that I have a user and password
for. However I can't create a database in that program. Outside of that
program it appears that my username is not a system user. Is there a way
to log into mysqladmin with that username?
3) I can't admin the server other than adding tables to the premade databases.

View Replies !
Install MySQL 5.0
im only using a personal PC at home.. is it ok if install mySQL even w/o connection to network?

View Replies !
Cannot Install MySQL
I've just downloaded the latest version of MySQL form mysql.com (4.0.21) and unzipped it then ran setup.exe. In theory that brings up the install wizard.

View Replies !
How Do You Install Mysql?
I'm very new to this and I've been trying to figure this out for a few weeks now. Theres not many sites that tell you step by step what you need. I have a host that im trying to put phpnuke on. My understanding is that i need to install mysql, phpmyadmin, and then phpnuke. I also understand that you need to configure it. Could someone tell me how to configure the files step by step? It is a linux server.

View Replies !

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