Linuxathome.net

Linux news and help for home broadband internet users
It is currently Fri Mar 29, 2024 12:16 am

All times are UTC + 10 hours [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Sat Jul 27, 2002 10:19 pm 
Offline
Newbie

Joined: Sat Jul 27, 2002 10:14 pm
Posts: 4
Annnnnnoying i tells ya .. when ever i try something in linux it never works first go.. basically im trying ot mysql to work..

I installed it to the guide

Quote:
Installing MySQL 3.22.25-1

For this installation I had to install the following RPMs:

MySQL-3.22.25-1.i586.rpm
MySQL-client-3.22.25-1.i586.rpm
MySQL-bench-3.22.25-1.i586.rpm
MySQL-devel-3.22.25-1.i586.rpm
DBI-perl-bin-0.93-1.i386.rpm
mysql-DBI-perl-bin-1.825-1.i386.rpm

Also... the MySQL-bench RPM requires MySQL-DBI-perl-bin (not mysql-DBI-perl-bin). As it worked fine when installed with nodeps I think there is simply a
problem with "case" in the src.rpm used to build the binaries. The functionality appears to be correct regardless.

[root@ntbox /root]# rpm -Uvh MySQL-3.22.25-1.i586.rpm
MySQL ##################################################
Creating db table
Creating host table
Creating user table
Creating func table
Creating tables_priv table
Creating columns_priv table

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER This is done with:

/usr/bin/mysqladmin -u root password 'new-password'
See the manual for more instructions.


and dont you know ... when i go /usr/bin/mysqladmin ... mysqladmin isn't there ... but every other file that installs with Mysql is .. So i did a reinstall of mysql .. same thing .. maybe someone has some suggestions


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Jul 30, 2002 10:45 am 
Offline
Newbie

Joined: Sun Jun 30, 2002 10:51 am
Posts: 24
Location: /dev/null
From my (very limited) experience with MySQL, isn't the mysqladmin part of the client package?

rpm -qpl MySQL-client-3.22.25-1.i586.rpm | grep mysqladmin


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Jul 30, 2002 3:13 pm 
Offline
Newbie

Joined: Sat Jul 27, 2002 10:14 pm
Posts: 4
thats what i thought .. i will give your suggestion a go and let you know :)
:lol:


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Jul 30, 2002 4:41 pm 
Offline
Newbie

Joined: Sat Jul 27, 2002 10:14 pm
Posts: 4
crappy ... all i get now is

Fatal error: Call to undefined function: mysql_connect() in /var/www/html/tuttables.php on line 4

apparently the config is wrong .. but i cant fix a fix thats not in german or russian .. anyone know how i can fix this?
:?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Jul 30, 2002 5:36 pm 
Offline
Newbie

Joined: Sun Jun 30, 2002 10:51 am
Posts: 24
Location: /dev/null
Did you compile PHP with --with-mysql? Dunno what else to suggest - this is where my PHP/MySQL knowledge ends.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jul 31, 2002 2:49 pm 
Offline
Newbie

Joined: Sat Jul 27, 2002 10:14 pm
Posts: 4
I was using the built in php thats in redhat ... i find out its not compiled with mysql support .. ill have to recompile i guess


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 10 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group