Linuxathome.net https://www.linuxathome.net/forum/ |
|
Mysql and redhat 7.3 (help :( ) https://www.linuxathome.net/forum/viewtopic.php?f=3&t=53 |
Page 1 of 1 |
Author: | kow [ Sat Jul 27, 2002 10:19 pm ] |
Post subject: | Mysql and redhat 7.3 (help :( ) |
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 |
Author: | redlander [ Tue Jul 30, 2002 10:45 am ] |
Post subject: | |
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 |
Author: | kow [ Tue Jul 30, 2002 3:13 pm ] |
Post subject: | |
thats what i thought .. i will give your suggestion a go and let you know |
Author: | kow [ Tue Jul 30, 2002 4:41 pm ] |
Post subject: | |
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? |
Author: | redlander [ Tue Jul 30, 2002 5:36 pm ] |
Post subject: | |
Did you compile PHP with --with-mysql? Dunno what else to suggest - this is where my PHP/MySQL knowledge ends. |
Author: | kow [ Wed Jul 31, 2002 2:49 pm ] |
Post subject: | |
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 |
Page 1 of 1 | All times are UTC + 10 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |