09-06-2009
Thank you I will try to follow the points mentioned and come back if any issues.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am getting the error "Can't call method "prepare" on an undefined value at..." with the following code:
<code>my %dbh;
my $dbh = DBI->connect("DBI:mysql:Customer_Data",
$username,
$password
) or die "Database connection... (1 Reply)
Discussion started by: vincaStar
1 Replies
2. Shell Programming and Scripting
Hi,
I want to connect perl with the mysql to select and so on but the connection don't work
code
#!/usr/bin/perl
BEGIN {
# PERL MODULES WE WILL BE USING
use DBI;
$dbh = DBI->connect('DBI:mysql:C:\Program Files\MySQL\MySQL Server 5.0\data\db1','','pass') or die $DBI::errstr;}
#... (1 Reply)
Discussion started by: eng_shimaa
1 Replies
3. UNIX for Dummies Questions & Answers
How to connect a MySQL database from unix using unix shell scripting ( people are using perl scrpt to connect the same database).
I want to access a MySQL database through a shell script (4 Replies)
Discussion started by: apsprabhu
4 Replies
4. Debian
Hello,
I wont to connect a MySQL database to debian:
I have installed libmyodbc package and after i have configured /etc/odbcinst.ini:
Description = MySQL driver
Driver = /usr/lib/odbc/libmyodbc.so
Setup = /usr/lib/odbc/libodbcmyS.so
and /etc/odbc.ini :
Description =... (0 Replies)
Discussion started by: linux31
0 Replies
5. Linux
How to generate public key to connect from one ftp server to other server to use in scripting. (0 Replies)
Discussion started by: sridhardwh
0 Replies
6. UNIX for Advanced & Expert Users
How to generate public key to connect from one ftp server to other server to use in scripting. (1 Reply)
Discussion started by: sridhardwh
1 Replies
7. Shell Programming and Scripting
I am trying to connect to Windows server via Linux server through a script and run two commands " cd and ls " But its giving me error saying " could not start the program" followed by the command name i specify e g : "cd"
i am trying in this manner "
ssh username@servername "cd... (5 Replies)
Discussion started by: sunil seelam
5 Replies
8. Linux
Hi my name is Manju.
->I have configure the two way authentication on my linux server.
->Now I am able to apply two way authenticator on particuler user.
->Now I want to map this linux server to my AD server.
->Kindly tell me how to map AD(Active Directory) with this linux server.
... (0 Replies)
Discussion started by: manjusharma128
0 Replies
9. Shell Programming and Scripting
Hi
i am new to unix shell scripting i have the below requirement
connect to server B and then connect to mysql in the server B and query for a particular record and capture that value
but when i perform this i am facing an error
can u guys help me on this:confused::confused:
... (2 Replies)
Discussion started by: Hamdul
2 Replies
10. Programming
I am getting below error on executing the code.
<
<?php
$dbname = 'upload_ui';
$dbuser = 'nad';
$dbpass = 'nad';
$dbhost = '10.196.84.192';
$link = mysqli_connect($dbhost, $dbuser, $dbpass) or die("Unable to Connect to '$dbhost'");
}
?>
-->error:
<
PHP Warning: PHP Startup:... (2 Replies)
Discussion started by: nadeemrafikhan
2 Replies
LEARN ABOUT REDHAT
glxswapbuffers
GLXSWAPBUFFERS() GLXSWAPBUFFERS()
NAME
glXSwapBuffers - exchange front and back buffers
C SPECIFICATION
void glXSwapBuffers( Display *dpy,
GLXDrawable drawable )
delim $$
PARAMETERS
dpy Specifies the connection to the X server.
drawable Specifies the drawable whose buffers are to be swapped.
DESCRIPTION
glXSwapBuffers promotes the contents of the back buffer of drawable to become the contents of the front buffer of drawable. The contents
of the back buffer then become undefined. The update typically takes place during the vertical retrace of the monitor, rather than immedi-
ately after glXSwapBuffers is called.
glXSwapBuffers performs an implicit glFlush before it returns. Subsequent OpenGL commands may be issued immediately after calling glXSwap-
Buffers, but are not executed until the buffer exchange is completed.
If drawable was not created with respect to a double-buffered visual, glXSwapBuffers has no effect, and no error is generated.
NOTES
The contents of the back buffer become undefined after a swap. Note that this applies to pbuffers as well as windows.
All GLX rendering contexts share the same notion of which are front buffers and which are back buffers. One consequence is that when mul-
tiple clients are rendering to the same double-buffered window, all of them should finish rendering before one of them issues the command
to swap buffers. The clients are responsible for implementing this synchronization. Typically this is accomplished by executing glFinish
and then using a semaphore in shared memory to rendezvous before swapping.
ERRORS
GLXBadDrawable is generated if drawable is not a valid GLX drawable.
GLXBadCurrentWindow is generated if dpy and drawable are respectively the display and drawable associated with the current context of the
calling thread, and drawable identifies a window that is no longer valid.
SEE ALSO
glFlush, glXBindSwapBarrierSGIX, glXJoinSwapGroupSGIX, glXSwapIntervalSGI
GLXSWAPBUFFERS()