10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi, we have a FTP server on vSphere on a windows 2008 server platform.
One of our Unix machines now cannot send files to it, we checked permissions etc.
Can login, when using put events.txt it gives a 550 Access Denied error.
Nothing has changed from yesterday when it was working apart from... (1 Reply)
Discussion started by: RonT
1 Replies
2. Shell Programming and Scripting
I have two methods...create_2_54 and create_2_55
I have added a nested while loop(previously it has just one loop) in create_2_54
the mv command(which comes first in 2_55) is not working.
for name in `ls -1 1SMH_WICD_V5_2_5*.txt` ; do
mv $name $nametmp.tmp
unix2dos -ascii -437 $nametmp.tmp... (2 Replies)
Discussion started by: harish468
2 Replies
3. Solaris
Hi
Whilst trying to bring out our SunFire V88o server with Solaris 9 we had the following error message:
Error: Can't access LM75 devices
How can I resolve this problem in order to boot the machine?
Thanks
Rahman (0 Replies)
Discussion started by: rahmantanko
0 Replies
4. Solaris
Hello everyone,
This is the first time I am installing Solaris. I have SunBlade 1500 Wrkstn. I installed Solaris 10 Sparc.
The installation went successfully but I don't get the login screen. I get the following error message:
Boot device: disk:a File and agrs:-
Data Access Error
Ok
... (4 Replies)
Discussion started by: mfsaeed
4 Replies
5. Programming
I am unable to resolve the below code compilation issue:
class A
{
public:
int x;
};
void sort_A(TArray<A> &_Atype)
{
std::stable_sort (_Atype.begin(), _Atype.end());
}
bool operator< (const A & _a1, const A & _a2)
{
return _a1.x < _a2.x;
}
When we compile using gcc 4.1.2... (4 Replies)
Discussion started by: uunniixx
4 Replies
6. Solaris
Hi
using solaris 5.8 on UltraSPARC-IIi 360MHz.
I know it is an old hardware but similiar hardware is running fine. here is the issue,
System booted : works okay for some time then display was hung so system was rebooted ..it gave data access error. again rebooted and it came up... (6 Replies)
Discussion started by: upengan78
6 Replies
7. Linux
Grub throwing Error::
Error 24: Attempt to access block outside partition.
done the following
root (hd0,0)
After that when trying to load kernel it is throwing the error.
Please guide.
new to grub.
Thx,
Siva. (0 Replies)
Discussion started by: Sivaswami
0 Replies
8. AIX
All,
I am trying to copy some data from /admin/reports/Sept/ccn/c_ivsstr01 to /home/users/myhomedir and I am getting an error I have never seen before:
The file access permissions do not allow the specified action.
The permissions on the file are -rw-r--r-- and I am the owner of the file... (3 Replies)
Discussion started by: kjbaumann
3 Replies
9. UNIX for Advanced & Expert Users
Dear Reader,
My Sun Machine comes to halt with a message 'Data Access Error'. What / Where could be wrong..??
Thanks in Advance.... (5 Replies)
Discussion started by: joseph_shibu
5 Replies
10. UNIX for Dummies Questions & Answers
Hi
I need to access files from a specific folder of a Linux system from an another Linux System Remotely.
I know how to, Export a folder on One SCO System & can access the same by using Import via., NFS in the Sco Unix SVR4 System using the scoadmin utility.
Also, I know to use mount -t ... (2 Replies)
Discussion started by: S.Vishwanath
2 Replies
MYSQL_LIST_TABLES(3) 1 MYSQL_LIST_TABLES(3)
mysql_list_tables - List tables in a MySQL database
SYNOPSIS
Warning
This function was deprecated in PHP 4.3.0, and will be removed in the future, along with the entirety of the original MySQL exten-
sion. Instead, the MySQLi or PDO_MySQL extension should be used. See also MySQL: choosing an API guide and related FAQ for more
information. Alternatives to this function include:
oSQL Query:
SHOW TABLES FROM sometable
resource mysql_list_tables (string $database, [resource $link_identifier = NULL])
DESCRIPTION
Retrieves a list of table names from a MySQL database.
This function is deprecated. It is preferable to use mysql_query(3) to issue an SQL SHOW TABLES [FROM db_name] [LIKE 'pattern'] statement
instead.
o $database
- The name of the database
o $
link_identifier -The MySQL connection. If the link identifier is not specified, the last link opened by mysql_connect(3) is
assumed. If no such link is found, it will try to create one as if mysql_connect(3) was called with no arguments. If no connection
is found or established, an E_WARNING level error is generated.
A result pointer resource on success or FALSE on failure.
Use the mysql_tablename(3) function to traverse this result pointer, or any function for result tables, such as mysql_fetch_array(3).
+--------+-----------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+-----------------------------------+
| 4.3.7 | |
| | |
| | This function became deprecated. |
| | |
+--------+-----------------------------------+
Example #1
mysql_list_tables(3) alternative example
<?php
$dbname = 'mysql_dbname';
if (!mysql_connect('mysql_host', 'mysql_user', 'mysql_password')) {
echo 'Could not connect to mysql';
exit;
}
$sql = "SHOW TABLES FROM $dbname";
$result = mysql_query($sql);
if (!$result) {
echo "DB Error, could not list tables
";
echo 'MySQL Error: ' . mysql_error();
exit;
}
while ($row = mysql_fetch_row($result)) {
echo "Table: {$row[0]}
";
}
mysql_free_result($result);
?>
Note
For backward compatibility, the following deprecated alias may be used: mysql_listtables(3)
mysql_list_dbs(3), mysql_tablename(3).
PHP Documentation Group MYSQL_LIST_TABLES(3)