473,404 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

phpMyAdmin: tbl_replace.php: Missing db

Hi,

I'm new to mysql and just installed phpmyadmin.

Here is the versions info:

System Linux linlyne.spider.sense 2.4.22-1.2199.nptl #1

PHP Version 4.3.8

Apache/2.0.50 (Fedora)

Client API version 3.23.58

Welcome to phpMyAdmin 2.5.7-pl1

MySQL 3.23.58 running on localhost as root@localhost

************************************************** ************************************************** ***
********** Error messages *******************************************
************************************************** ************************************************** ***

When creating database:

Server localhost

db_create.php: Missing db

When inserting new row in user table:

tbl_replace.php: Missing db
tbl_replace.php: Missing table
tbl_replace.php: Missing goto

Accessing phpMyAdmin from LAN:

Connection refused (that's OK)

Where can i start with to solve my pb with phpMyAdmin ?

Thank you.

************************************************** ************************************************** ***********
***************** Following is part of my config.inc.php file: *******
************************************************** ************************************************** ***********
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname
or IP address
$cfg['Servers'][$i]['port'] = ''; // MySQL port -
leave blank for default port
$cfg['Servers'][$i]['socket'] = ''; // Path to the
socket - leave blank for default socket
$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect
to MySQL server ('tcp' or 'socket')
$cfg['Servers'][$i]['compress'] = FALSE; // Use compressed
protocol for the MySQL connection
// (requires PHP
= 4.3.0)

$cfg['Servers'][$i]['controluser'] = ''; // MySQL control
user settings
// (this user must
have read-only

$cfg['Servers'][$i]['controlpass'] = ''; // access to the
"mysql/user"
// and "mysql/db"
tables).
// The controluser
is also
// used for all
relational
// features
(pmadb)
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication
method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password
(only needed
// with 'config'
auth_type)
$cfg['Servers'][$i]['only_db'] = ''; // If set to a
db-name, only
// this db is
displayed in left frame
// It may also be
an array of db-names, where sorting order is relevant.
$cfg['Servers'][$i]['verbose'] = ''; // Verbose name
for this host - leave blank to show the hostname

$cfg['Servers'][$i]['pmadb'] = ''; // Database used
for Relation, Bookmark and PDF Features
// (see
scripts/create_tables.sql)
// - leave blank
for no support
// DEFAULT:
'phpmyadmin'

Jul 20 '05 #1
2 9000
Never mind.. I found the solution. hope this will help...

Other Info:

- Using dynamic IP
- Using no-ip.com services
- prt 80 closed = using 8080

solution:

Change $cfg['PmaAbsoluteUri'] variable as posted by www.linboost.org
(thank you guys) to:

$cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' :
'http')
. '://' . $_SERVER['HTTP_HOST'] . (!empty($_SERVER['SERVER_PORT'])
? ':'
. $_SERVER['SERVER_PORT'] : '')
. substr($_SERVER['PHP_SELF'], 0, strrpos($_SERVER['PHP_SELF'],
'/')+1);

But even there, because no-ip was appending the port number, it was
included in the $_SERVER['HTTP_HOST'] variable,
so i had to take it off to:

$cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' :
'http') . '://' . $_SERVER['HTTP_HOST']
. substr($_SERVER['PHP_SELF'], 0,
strrpos($_SERVER['PHP_SELF'], '/')+1);

Et voila!
Le Wed, 18 Aug 2004 07:21:19 -0400, Daniel Mercier
<da*************@videotron.ca> a écrit :
Hi,

I'm new to mysql and just installed phpmyadmin.

Here is the versions info:

System Linux linlyne.spider.sense 2.4.22-1.2199.nptl #1

PHP Version 4.3.8

Apache/2.0.50 (Fedora)

Client API version 3.23.58

Welcome to phpMyAdmin 2.5.7-pl1

MySQL 3.23.58 running on localhost as root@localhost

************************************************* ************************************************** ****
********** Error messages *******************************************
************************************************* ************************************************** ****

When creating database:

Server localhost

db_create.php: Missing db

When inserting new row in user table:

tbl_replace.php: Missing db
tbl_replace.php: Missing table
tbl_replace.php: Missing goto

Accessing phpMyAdmin from LAN:

Connection refused (that's OK)

Where can i start with to solve my pb with phpMyAdmin ?

Thank you.

************************************************* ************************************************** ************
***************** Following is part of my config.inc.php file: *******
************************************************* ************************************************** ************
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname
or IP address
$cfg['Servers'][$i]['port'] = ''; // MySQL port -
leave blank for default port
$cfg['Servers'][$i]['socket'] = ''; // Path to the
socket - leave blank for default socket
$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect
to MySQL server ('tcp' or 'socket')
$cfg['Servers'][$i]['compress'] = FALSE; // Use compressed
protocol for the MySQL connection
// (requires PHP
= 4.3.0)

$cfg['Servers'][$i]['controluser'] = ''; // MySQL control
user settings
// (this user must
have read-only

$cfg['Servers'][$i]['controlpass'] = ''; // access to the
"mysql/user"
// and "mysql/db"
tables).
// The controluser
is also
// used for all
relational
// features
(pmadb)
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication
method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password
(only needed
// with 'config'
auth_type)
$cfg['Servers'][$i]['only_db'] = ''; // If set to a
db-name, only
// this db is
displayed in left frame
// It may also be
an array of db-names, where sorting order is relevant.
$cfg['Servers'][$i]['verbose'] = ''; // Verbose name
for this host - leave blank to show the hostname

$cfg['Servers'][$i]['pmadb'] = ''; // Database used
for Relation, Bookmark and PDF Features
// (see
scripts/create_tables.sql)
// - leave blank
for no support
// DEFAULT:
'phpmyadmin'


Jul 20 '05 #2
Never mind...

I found out myself. But I would have appreciated some help on this
since I lost lots of time.

Answer:

Additionnal info:

- dynamic ip from ISP ;
- closed port 80 by ISP so using 8080 instead ;
- using no-ip.com services that was adding the 8080 port in
directing to my host ;

Solution:

Had to change the $cfg['PmaAbsoluteUri'] variable in config.inc.php
to:
$cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' :'http')
.. '://' . $_SERVER['HTTP_HOST'] . (!empty($_SERVER['SERVER_PORT']) ?
':' . $_SERVER['SERVER_PORT'] : '') . substr($_SERVER['PHP_SELF'],
0, strrpos($_SERVER['PHP_SELF'], '/')+1); ##### found on
www.linboost.org (thank you guys).

But even there had to remove the (!empty($_SERVER['SERVER_PORT']) ?
':' . $_SERVER['SERVER_PORT'] : '') part since no-ip was already
adding the port and the port was included in the $_SERVER['HTTP_HOST']
variable.

Hope this will help.

Daniel

Le Wed, 18 Aug 2004 07:21:19 -0400, Daniel Mercier
<da*************@videotron.ca> a écrit :
Hi,

I'm new to mysql and just installed phpmyadmin.

Here is the versions info:

System Linux linlyne.spider.sense 2.4.22-1.2199.nptl #1

PHP Version 4.3.8

Apache/2.0.50 (Fedora)

Client API version 3.23.58

Welcome to phpMyAdmin 2.5.7-pl1

MySQL 3.23.58 running on localhost as root@localhost

************************************************* ************************************************** ****
********** Error messages *******************************************
************************************************* ************************************************** ****

When creating database:

Server localhost

db_create.php: Missing db

When inserting new row in user table:

tbl_replace.php: Missing db
tbl_replace.php: Missing table
tbl_replace.php: Missing goto

Accessing phpMyAdmin from LAN:

Connection refused (that's OK)

Where can i start with to solve my pb with phpMyAdmin ?

Thank you.

************************************************* ************************************************** ************
***************** Following is part of my config.inc.php file: *******
************************************************* ************************************************** ************
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname
or IP address
$cfg['Servers'][$i]['port'] = ''; // MySQL port -
leave blank for default port
$cfg['Servers'][$i]['socket'] = ''; // Path to the
socket - leave blank for default socket
$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect
to MySQL server ('tcp' or 'socket')
$cfg['Servers'][$i]['compress'] = FALSE; // Use compressed
protocol for the MySQL connection
// (requires PHP
= 4.3.0)

$cfg['Servers'][$i]['controluser'] = ''; // MySQL control
user settings
// (this user must
have read-only

$cfg['Servers'][$i]['controlpass'] = ''; // access to the
"mysql/user"
// and "mysql/db"
tables).
// The controluser
is also
// used for all
relational
// features
(pmadb)
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication
method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password
(only needed
// with 'config'
auth_type)
$cfg['Servers'][$i]['only_db'] = ''; // If set to a
db-name, only
// this db is
displayed in left frame
// It may also be
an array of db-names, where sorting order is relevant.
$cfg['Servers'][$i]['verbose'] = ''; // Verbose name
for this host - leave blank to show the hostname

$cfg['Servers'][$i]['pmadb'] = ''; // Database used
for Relation, Bookmark and PDF Features
// (see
scripts/create_tables.sql)
// - leave blank
for no support
// DEFAULT:
'phpmyadmin'


Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Chris | last post by:
Hi, I'm running PHP (version 4.3.1), MySqlAdmin 1.3 & PHPmyadmin 2.4.0 on Apache HTTP Server 2.0.45. I'm having problems with phpmyadmin in particular. I'm running several tables and querying...
4
by: JimC | last post by:
I have PHP installed on a Windows XP platform using IIS as server. When updating a MySQL database field set to MEDIUMTEXT in phpMyAdmin, the transaction seems to fail if the text contains more...
0
by: phpnube | last post by:
I used this php package to install on my system... (i had problems with the isapi package from php so im back to the cgi portion of PHP php-cgi.exe) PHP 5.0.0 installer - 26 July 2004 (CGI...
0
by: Daniel Mercier | last post by:
Hi, I'm new to mysql and just installed phpmyadmin. Here is the versions info: System Linux linlyne.spider.sense 2.4.22-1.2199.nptl #1 PHP Version 4.3.8
3
by: cofused | last post by:
Hi, I have set up the Xitami server (2.5c2) and PHP (5.0.5) on my Win98 system without any problem. I am trying to add PhpMyAdmin. When I try to load http://home/phpmyadmin which loads...
5
by: NewbieSupreme | last post by:
I installed Apache 2.0.58, tested it, got the "working" page. Installed MySQL 5.0.22, and didn't really see how to test that, but there is a mysql process running in the task manager. Ran through...
5
by: Marcus | last post by:
Hello, I am having a problem with a query in phpMyAdmin... it works fine on my localhost, but the exact same query produces an error in phpMyAdmin on my server: localhost: PHP 4.3.11, MySQL...
0
by: Marcus | last post by:
Hello, I am trying to configure phpMyAdmin 2.8.2. I un-commented the following line in config.inc.php: // Force: always use this language - must be defined in // ...
8
by: Jonathan Sachs | last post by:
I just tried to install phpMyAdmin on my system, and I can't get it to work. When I tried to run the setup procedure (setup.php) I got the following message: Fatal error: session_start() :...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
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,...
0
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...
0
jinu1996
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...
0
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...
0
tracyyun
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...
0
agi2029
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,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.