Firewall and mysql startup sep questions
is there anyway to make mysql server start on boot up so i don't have to leave a user logged in for sql to work.
On another note, firewall is blocking ftp access when truned on how do i sort it?
Under "My Music" I have the following type of folder structure:
Music A-D<<Artist> (around 00 artists)<<Album> (around 300 albums)<MP3 Files...(around 6000 songs)<
Music E-I<<Artist> (around 00 artists)<<Album> (around 300 albums)<MP3 Files...(around 6000 songs)<
Music J-R<<Artist> (around 200 artists)<<Album> (around 600 albums)<MP3 Files...(around 2000 songs)<
Music S-Z<<Artist> (around 00 artists)<<Album> (around 300 albums)<MP3 Files...(around 6000 songs)<
Various Artists<<Artist> (around 500 artists)<MP3 Files...(around 8000 songs)<
Dump Folder<MP3 Files (unsorted, about 8000 files)<
I have Media Sniffer setup to monitor "My Music" and all the folders underneath it. Weird thing is that if by turning off Media Sniffer, if my startup performance lag goes away, that indicates that Media Sniffer is doing a folder check during startup. I can't imagine that I'm the only person who has their music library organized into a logical folder structure - most ripping programs today allow you to do this?by default. Heck, even media ripping services that you send your CDs to in bulk send files back this way.
Also, my media library is?static right now - I'm haven't added any files to my library in months (got a little burned out organizing the darned things). So Media Sniffer shouldn't have to exert itself in searching for new files (I assume its smart enough to check the directory size or file count for changes before "searching" through the whole directory structure - but maybe that assumption is wrong?)
Similar Messages
-
New install of mariadb and mysql-workbench - some questions
So I've installed mariadb along with mysql-workbench. These were fresh installs on a system which has never had mariadb/mysql installed previously. Per the Wiki, I installed mariadb and mysql-workbench, started and enabled the service, and ran the mysql_secure_installation script. I then added a non-root user and even imported a database into it. Everything seems fine, though I have never used either MySQL, mariadb, or mysql-workbench before.
I have a couple of questions:
Question 1:
When I run mysql-workbench, I have to run it with the command “gksudo mysql-workbench” or it comes up in a locked form that doesn't give me (user) access. I am presuming that this is simply because my user account is not a member of the mysql group and that if I changed that, I'd be able to run it with a simple “mysql-workbench” command.
The question is: Should I do that, or is there a good security reason to not have the user be a member of the mysql group? (Would the current setup (having to run “gksudo” be a problem if I installed the mariadb on my server (rather than locally) and mysql-workbench locally?)
The Wiki doesn't say anything about adding the user to the mysql group, so I don't know if that's just an implied standard practice, or if there is good reason not to do so.
Question 2:
When I try to connect to the database with mysql-workbench, it presents me with a password prompt, as expected, then I get a message box that says:
Incompatible/nonstandard server version or connection protocol detected (10.0.17).
A connection to this database can be established but some MySQL Workbench
features may not work properly since the database is not fully compatible
with the supported versions of MySQL.
MySQL Workbench is developed and tested for MySQL Server versions 5.1, 5.5, 5.6 and 5.7
Clicking “Continue Anyway” lets me in and connects everything up and seems to work fine. However, the tab at the top says “Local Instance 33061 - Warning - not supported”.
I presume this has something to do with the fact that I am running mysql-workbench as the front end not to MySQL, but mariadb - and functionality that I've tried seems to work fine.
So my question is: Is there more to this warning (should I be changing some default setting to make everything play nice), or is this just one of those warnings that mean nothing really, and everything IS playing nice already?
Thanks,
Andrepresume this has something to do with the fact that I am running mysql-workbench as the front end not to MySQL, but mariadb - and functionality that I've tried seems to work fine.
I think its probably as you say.
If everything is working fine don't worry.
I'm using php admin to control mariadb but i think there is not much difference between maradb and MySQL.
If problems appear you can always change to MySQL. -
Grey screen and file icon with question mark appearing at startup on old model macbook
We own a very old model macbook and the startup screen appears as grey and an icon appears in the shape of a file with a question mark in the middle and the startup does not proceed from there. Any help would be much appreciated.
Thanks,
AthulaSome things to check/try in no particular order:
https://support.apple.com/kb/TS1440
http://support.apple.com/kb/ts2570
https://discussions.apple.com/docs/DOC-5282 -
Solaris10 basic questions PHP and MYSQL
Hi,
I am trying to learn something of Solaris because it this OS is used at my job, well, we have one system T2000 sunfire, it has Solaris10, we are trying to setup as local server to share some html files, and also we are trying to install some mysql databases, well we already setup Apache2 and it is working fine:
svcs -a | grep -i http
online Mar_10 svc:/network/http:apache2
Something that I don't know is if the server has already installed PHP and if it is running, I just found these files containing PHP:
./usr/local/php
./usr/local/php/doc/php
./usr/local/php/bin/php
./usr/local/php/include/php
./usr/local/php/lib/php
./usr/local/php/bin/php
# cd bin
# ls -l
total 42041
-rwxr-xr-x 1 root bin 686 Jun 30 2005 pear
-rwxr-xr-x 1 root bin 21407604 Jun 30 2005 php
-rwxr-xr-x 1 root bin 877 Jun 30 2005 php-config
-rwxr-xr-x 1 root bin 593 Jun 30 2005 phpextdist
-rwxr-xr-x 1 root bin 3068 Jun 30 2005 phpize
I was wondering if some of you can tell me if php is installed and running, I think it is not running because I created an php file and it doesn't work.
I also need to know if mysql is working or not, I think it is working, these are the process that I found of mysql:
/usr/bin/ps -ef |grep mysql
mysql 843 798 0 Feb 22 ? 40:59 /usr/local/mysql/libexec/mysqld basedir=/usr/local/mysql datadir=/export/ho
root 798 1 0 Feb 22 ? 0:00 /bin/sh /usr/local/mysql/bin/mysqld_safe datadir=/export/home/database pid-
Thanks.Thanks Alan bye the answer.
Here is my list of folder in /usr/local:
lrwxrwxrwx 1 root root 14 May 20 2009 Tcl8.4.2 -> /usr/local/tcl
drwxr-xr-x 10 root other 10 May 20 2009 apache
drwxr-xr-x 16 root bin 16 Jun 7 2009 apache2
drwxr-xr-x 2 root bin 5 Mar 9 18:16 bin
drwxr-xr-x 5 root bin 5 Mar 9 18:16 doc
drwxr-xr-x 2 root bin 7 Mar 9 18:16 include
drwxr-xr-x 3 root bin 39 Mar 9 18:16 lib
drwxr-xr-x 2 root bin 5 Mar 9 18:16 libexec
drwxr-xr-x 4 root bin 4 Jun 7 2009 man
drwxr-xr-x 14 root root 14 Jun 7 2009 mysql
drwxr-xr-x 5 root other 5 May 20 2009 perl5
drwxr-xr-x 8 root bin 8 Jun 7 2009 php
drwxr-xr-x 2 root bin 4 Mar 9 18:16 sbin
drwxr-xr-x 5 root bin 5 Mar 9 18:16 share
drwxr-xr-x 10 root other 10 May 20 2009 squid
drwxr-xr-x 10 root root 11 Jun 7 2009 ssl
drwxr-xr-x 7 root other 8 May 20 2009 tcl
drwxr-xr-x 10 root other 10 May 20 2009 tools
I know perl is running by:
# perl -v
This is perl, v5.8.4 built for sun4-solaris-64int
(with 31 registered patches, see perl -V for more detail)
Copyright 1987-2004, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.
And I was thinking, before install another thing I want to be sure that php is not installed or running, I would like to ask some questions:
How can I know if php is installed?
How can I know if it is running? the way I have tried is placing a PHP file in the /var/apache2/htdocs and tried it from the browser, but it didn't work.
If PHP is installed how can I enable it or start it? and how to make it permanent or start automatically when server boot up?
What happen if i try to install the AMP, may I have to backup the files that we already have in /var/apache2/htdocs?
Will the amp cause troubles or conflict to the apache, perl and mysql that are already installed and running?
Another basic question and hope not to cause angry, is there inside Solaris any equivalent folder to "program files" like in win? it would be to have an idea of all the applications already installed in the system. or which is or are the folders in Solaris where I can see all the installed applications?
the last question the term "the box" is the term for machine, station, server?
Thanks.
by the way here is a list of the process that are currently running
cmd uid
sched root
/sbin/init root
pageout root
fsflush root
/usr/lib/inet/inetd start root
/lib/svc/bin/svc.startd root
/lib/svc/bin/svc.configd root
/usr/lib/nfs/mountd root
/usr/lib/sysevent/syseventd root
/usr/apache2/bin/httpd -k start webservd
/usr/sadm/lib/smc/bin/smcboot root
/usr/lib/saf/ttymon -g -d /dev/console -l console -T ansi -m ldterm,ttcompat -h root
/usr/lib/nfs/nfs4cbd daemon
devfsadmd root
/usr/sadm/lib/smc/bin/smcboot root
/usr/lib/ldoms/drd root
/usr/lib/nfs/statd daemon
/usr/sbin/rpc.bootparamd root
/usr/lib/crypto/kcfd daemon
/usr/lib/picl/picld root
/usr/sbin/rpcbind daemon
/usr/lib/efcode/sparcv9/efdaemon root
/usr/sbin/nscd root
/usr/sbin/cron root
/usr/lib/ssh/sshd root
/usr/lib/nfs/nfsmapid daemon
/usr/lib/nfs/nfsd daemon
/usr/lib/sendmail -Ac -q15m smmsp
/usr/sadm/lib/smc/bin/smcboot root
/usr/lib/nfs/lockd daemon
/usr/lib/saf/ttymon root
/usr/local/mysql/libexec/mysqld basedir=/usr/local/mysql datadir=/export/ho mysql
/usr/lib/saf/sac -t 300 root
/usr/lib/utmpd root
/usr/lib/sendmail -bd -q15m root
/usr/sbin/in.routed root
/usr/sbin/in.telnetd root
/usr/lib/autofs/automountd root
/usr/sbin/in.rarpd -a root
/usr/lib/ssh/sshd myuser
/usr/lib/autofs/automountd root
/usr/sbin/syslogd root
/opt/SWIE/jetty/jre/bin/java -Djava.awt.headless=true -Djava.endorsed.dirs=/opt root
ps -ef root
/usr/lib/netsvc/rstat/rpc.rstatd root
bash root
/usr/sbin/in.telnetd root
/usr/lib/snmp/snmpdx -y -c /etc/snmp/conf root
/usr/lib/fm/fmd/fmd root
/usr/sbin/vold -f /etc/vold.conf root
/usr/lib/dmi/dmispd root
/usr/sfw/sbin/snmpd root
/usr/jdk/latest/bin/java -Dhostname=XXXHOSTnameXXX -Djava.security.policy==/opt/SU root
/opt/realport/sparc64/ncxd -d /dev/digi_realport0 -i XXX.XXX.XXX.X -p 771 -e ne root
(dnsserver) squid
(dnsserver) squid
/usr/lib/dmi/snmpXdmid -s XXXHOSTnameXXX root
/usr/dt/bin/dtlogin -daemon root
/bin/sh /opt/SWIE/jetty/etc/init.d/jetty start root
(dnsserver) squid
(dnsserver) squid
/usr/local/squid/sbin/squid -DsY root
(dnsserver) squid
/usr/java/bin/java -server -Xmx128m -XX:+UseParallelGC -XX:ParallelGCThreads=4 noaccess
(squid) -DsY squid
-sh root
(unlinkd) squid
/bin/sh /usr/local/mysql/bin/mysqld_safe datadir=/export/home/database pid- root
-bash myuser
bash root
-bash myuser
-sh root
/usr/lib/ssh/sshd myuser
sh root
bash root
/usr/sbin/in.telnetd root
-sh root
/usr/apache2/bin/httpd -k start webservd
bash root
/usr/apache2/bin/httpd -k start webservd
-sh root
sh root
/usr/lib/ssh/sshd root
-bash myuser
/usr/sbin/in.telnetd root
-sh root
bash root
/usr/sbin/in.telnetd root
bash root
/usr/apache2/bin/httpd -k start root
-sh root
/usr/apache2/bin/httpd -k start webservd
/usr/lib/ssh/sshd root
/usr/apache2/bin/httpd -k start webservd
/usr/sbin/in.telnetd root -
Few question about Java and MySQL connection
Hi!
I have some problems with creating connection between Java and MySQL.
I followed the restrictions in mysql-connector-java.jar' readme, I set the CLASSPATH :
CLASSPATH=.;D:/mysql/mysql-connector-java.jar;
I copied this jar file to the right place (descripted above), and I used the right steps to load it:
Class.forName('com.mysql.jdbc.Driver"); and it throws a ClassNotFoundException
Why? All the paths are correct, everything is on the right place.... I dont know why.
When I installed the JBuilder8, and copied the jar file to JBuilder8/jdk4/jre/lib/ext it worked without any CLASSPATH in enviromental variables.
If I want to run my program on machines where are not JBuilder, what should I do?
Please help, if you can.
Thanks,
henpantaYeah. So if I compiled my program with JBuilder to an .exe file, I cant run it on other machines, if the jar file isnt in the same place?
If I tried your advice, java -classpath mymainclass I got the next message:
main class not found. Believe me, its there. :( -
I just finished my install of Leopard Server and configuring my websites and I now need to find out how I access phpmyadmin on this server. I have two websites that require PHP and MySql. I have MySql enabled and I made a new root password but I can't seem to figure out how to access PHPmyAdmin to upload my MySql databases. any help would be great. GUI interface would also be wonderful.
You'll have to install PHPMyAdmin yourself if you want to use it. It certainly isn't necessary if all you're doing is importing dumps from another server.
-
Difference between RAC and MySQL Cluster !
Difference between RAC and MySQL Cluster
Please write me in well explanation , with examples , needed useful link and all other stuffs.
(1)Italian dealers/distributors for MySQL
(2)Difference between RAC and MySQL Cluster
(3)Pricing about MySQL and PostgreSQL
(4)How and which type / Way to deliver support by MySQL
(5)Security features about MySQL Vs Oracle
(6)Management Console
MySQL Vs Oracle
Thanks in advance !
MySQL ClusterHa ha, most amusing.
I suggest you try googling for answers to these things. This is a site dedicated to the Oracle database, the questions are answered by volunteers (not Oracle employees) and we are primarily geeks rather than marketing droids. If you have a specific Oracle question please feel free to post anytime.
Thank you for your interest.
Arrivederci, APC -
Error message about firewall and internet sharing
hello all i have a question regarding the use of firewall and internet sharing.
I have a PMG5 connected to internet through Airport. I've linked an Xbox 360 via the built-in ethernet port in order to access Xbox Live. I had to open specific UDP ports on the OS X firewall but it now works fine. However, in the Sharing Preference Pane, Internet Tab, i still get an error message saying that my Internet Sharing is disturbed by the settings of the firewall and sharing services, it says that i did not activate "personal web sharing" in the first two tabs...but i DID ! And there's no way to get rid of this error message.
I know I know some may consider it's not a real problem because it's just an error message while the connection actually works fine but well, I tend to hate error messages when they're not supposed to show up. So if anyone know the answer, thanks in advance...
Good day to everyone
Vince, Paris...sorry about the delay in replying, was kinda busy
well trashing the pref files was useless and i tried with another user, same thing. As for the second opinion, the problem was not about which port was used cause as i said the connection sharing works fine and anyway it was the correct port that was checked, it's just that i get an error message while there is no apparent error and everything works fine, i'm told that personal web sharing is not enabled but it is...
Anyway as i said, it's probably not a real matter, as long as it works...which brings me to another thing. I've created a special protocol in the firewall to enable a proper dialog with the xbox. it's basically the same thing you do for ichat AV when you have video connection problems, you track down the concerned UDP port using terminal, you allow traffic and all... The protocol for the xbox worked great for some days, but now it seems it's not enough, the game set keeps trying on another port and i constantly have to update the protocol or deactivate the firewall...and enabling back all UDP traffic is not enough to solve it.
In a way i think everything is linked, the initial error message when everything was fine and the current trouble. Any idea?
thanks
Vince -
have 2 imac computers and here are my questions: first, how to I transfer the information from my contact directory from my old imac into my new imac? Once the information is transfered how can I print it? Second: I have a large music collection in my old Imac computer how do I transfer this information to my new computer? Also how can I share this information with other computers at home?
I think you may find helpful information here:
A Basic Guide for Migrating to Intel-Macs
The Knowledgebase article Intel-based Mac: Some migrated applications may need to be updated refers to methods of dealing with migrating from PowerPC chips to Intel with the Migration Assistant safely. The authors of this tip have not had a chance to verify this works in all instances, or that it avoids the 10.6.1 and earlier Guest Account bug that caused account information to get deleted upon use of the Migration/Setup Assistant. However, a well backed up source that includes at least two backups of all the data that are not connected to your machine will help you avoid potential issues, should they arise. In event it does not work, follow the steps below.
If you are migrating a PowerPC system (G3, G4, or G5) to an Intel-Mac be careful what you migrate. Keep in mind that some items that may get transferred will not work on Intel machines and may end up causing your computer's operating system to malfunction.
Rosetta supports "software that runs on the PowerPC G3, G4, or G5 processor that are built for Mac OS X". This excludes the items that are not universal binaries or simply will not work in Rosetta:
Classic Environment, and subsequently any Mac OS 9 or earlier applications
Screensavers written for the PowerPC System Preference add-ons
All Unsanity Haxies Browser and other plug-ins
Contextual Menu Items
Applications which specifically require the PowerPC G5 Kernel extensions
Java applications with JNI (PowerPC) libraries
See also What Can Be Translated by Rosetta.
In addition to the above you could also have problems with migrated cache files and/or cache files containing code that is incompatible.
If you migrate a user folder that contains any of these items, you may find that your Intel-Mac is malfunctioning. It would be wise to take care when migrating your systems from a PowerPC platform to an Intel-Mac platform to assure that you do not migrate these incompatible items.
If you have problems with applications not working, then completely uninstall said application and reinstall it from scratch. Take great care with Java applications and Java-based Peer-to-Peer applications. Many Java apps will not work on Intel-Macs as they are currently compiled. As of this time Limewire, Cabos, and Acquisition are available as universal binaries. Do not install browser plug-ins such as Flash or Shockwave from downloaded installers unless they are universal binaries. The version of OS X installed on your Intel-Mac comes with special compatible versions of Flash and Shockwave plug-ins for use with your browser.
The same problem will exist for any hardware drivers such as mouse software unless the drivers have been compiled as universal binaries. For third-party mice the current choices are USB Overdrive or SteerMouse. Contact the developer or manufacturer of your third-party mouse software to find out when a universal binary version will be available.
Also be careful with some backup utilities and third-party disk repair utilities. Disk Warrior, TechTool Pro , SuperDuper , and Drive Genius work properly on Intel-Macs with Leopard. The same caution may apply to the many "maintenance" utilities that have not yet been converted to universal binaries. Leopard Cache Cleaner, Onyx, TinkerTool System, and Cocktail are now compatible with Leopard.
Before migrating or installing software on your Intel-Mac check MacFixit's Rosetta Compatibility Index.
Additional links that will be helpful to new Intel-Mac users:
Intel In Macs
Apple Guide to Universal Applications
MacInTouch List of Compatible Universal Binaries
MacInTouch List of Rosetta Compatible Applications
MacUpdate List of Intel-Compatible Software
Transferring data with Setup Assistant - Migration Assistant FAQ
Because Migration Assistant isn't the ideal way to migrate from PowerPC to Intel Macs, using Target Disk Mode, copying the critical contents to CD and DVD, an external hard drive, or networking will work better when moving from PowerPC to Intel Macs. The initial section below discusses Target Disk Mode. It is then followed by a section which discusses networking with Macs that lack Firewire.
If both computers support the use of Firewire then you can use the following instructions:
1. Repair the hard drive and permissions using Disk Utility.
2. Backup your data. This is vitally important in case you make a mistake or there's some other problem.
3. Connect a Firewire cable between your old Mac and your new Intel Mac.
4. Startup your old Mac in Transferring files between two computers using FireWire.
5. Startup your new Mac for the first time, go through the setup and registration screens, but do NOT migrate data over. Get to your desktop on the new Mac without migrating any new data over.
If you are not able to use a Firewire connection (for example you have a Late 2008 MacBook that only supports USB:)
1. Set up a local home network: Creating a small Ethernet Network.
2. If you have a MacBook Air or Late 2008 MacBook see the following:
MacBook (13-inch, Aluminum, Late 2008) and MacBook Pro (15-inch, Late 2008)- What to do if migration is unsuccessful;
MacBook Air- Migration Tips and Tricks;
MacBook Air- Remote Disc, Migration, or Remote Install Mac OS X and wireless 802.11n networks.
Copy the following items from your old Mac to the new Mac:
In your /Home/ folder: Documents, Movies, Music, Pictures, and Sites folders.
In your /Home/Library/ folder:
/Home/Library/Application Support/AddressBook (copy the whole folder) /Home/Library/Application Support/iCal (copy the whole folder)
Also in /Home/Library/Application Support (copy whatever else you need including folders for any third-party applications)
/Home/Library/Keychains (copy the whole folder) /Home/Library/Mail (copy the whole folder) /Home/Library/Preferences/ (copy the whole folder) /Home /Library/Calendars (copy the whole folder) /Home /Library/iTunes (copy the whole folder) /Home /Library/Safari (copy the whole folder)
If you want cookies:
/Home/Library/Cookies/Cookies.plist /Home/Library/Application Support/WebFoundation/HTTPCookies.plist
For Entourage users:
Entourage is in /Home/Documents/Microsoft User Data Also in /Home/Library/Preferences/Microsoft.
Credit goes to Macjack for this information.
If you need to transfer data for other applications please ask the vendor or ask in the Discussions where specific applications store their data.
5. Once you have transferred what you need restart the new Mac and test to make sure the contents are there for each of the applications.
Written by Kappy with additional contributions from a brody.Revised 5/21/2011 -
Simple java/mysql database application question about triggers
I am planning a new database application using java and mysql. I may want to use some triggers to automatically update the tables when a change is made. my question is this: If I write the trigger, and I use Java to modify the database, will java automatically pause and let the trigger finish doing its task before it continues? what if it writes more to the table before the trigger is finished modifying the table? how do I get java to pause and let the trigger finish?
thanks for your responselduren wrote:
I am planning a new database application using java and mysql. I may want to use some triggers to automatically update the tables when a change is made. my question is this: If I write the trigger, and I use Java to modify the database, will java automatically pause and let the trigger finish doing its task before it continues? what if it writes more to the table before the trigger is finished modifying the table? how do I get java to pause and let the trigger finish?
It doesn't have anything to do with java at that point.
When you execute, for example, an insert statement, then the database executes that statement. The database (not java, not the driver) decides with that statement is complete. Control returns to java when the database decides that execution is complete.
And except for tricks that one might do (or attempt to do) via SQL or triggers then when the statement execution finishes then everthing has completed running. -
Connection issue on 32 bit Linux OBIEE with Postgres and Mysql
I am having trouble running reports on 32 bit Linux OBIEE version 10.1.3.4.0 and 10.1.3.4.1 with Postgres or Mysql as data source . I can connect to same data source (postgres and Mysql) from presentation services on windows box and also run queries from nqcmd using 32 bit linux ODBC driver on linux box running OBIEE server. I turned on odbc trace and I see following failures from Postgres and Mysql.
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 12010] Communication error connecting to remote end point: address = ; port = 9703. (HY000)
SQL Issued: SELECT test_obiee.c1 saw_0 FROM test_Postgre30 ORDER BY saw_0
Mysql odbc trace file :
ppid=1:pid=2908 719a:f4c1fb90 ENTER SQLSetConnectOption
HDBC 0x08d4f170
UWORD 1042
UDWORD 4079342863
ppid=1:pid=2908 719a:f4c1fb90 EXIT SQLSetConnectOption with return code 0 (SQL_SUCCESS)
HDBC 0x08d4f170
UWORD 1042
UDWORD 4079342863
ppid=1:pid=2908 719a:f4c1fb90 ENTER SQLErrorW
HENV 0x00000000
HDBC 0x08d4f170
HSTMT 0x00000000
WCHAR * 0xf4c1e140 (NYI)
SDWORD * 0xf4c1e1a8
WCHAR * 0xf4c1dd40
SWORD 1022
SWORD * 0xf4c1e1ae
ppid=1:pid=2908 719a:f4c1fb90 EXIT SQLErrorW with return code 100 (SQL_NO_DATA_FOUND)
HENV 0x00000000
HDBC 0x08d4f170
HSTMT 0x00000000
WCHAR * 0xf4c1e140 (NYI)
SDWORD * 0xf4c1e1a8
WCHAR * 0xf4c1dd40
SWORD 1022
SWORD * 0xf4c1e1ae
ppid=1:pid=2908 719a:f4c1fb90 ENTER SQLFreeConnect
HDBC 0x08d4f170
ppid=1:pid=2908 719a:f4c1fb90 EXIT SQLFreeConnect with return code 0 (SQL_SUCCESS)
HDBC 0x08d4f170
Postgres odbc trace file :
ppid=1:pid=2951 734f:f4a56b90 ENTER SQLAllocConnect
HENV 0x0a0cf8c8
HDBC * 0x0a12f278
ppid=1:pid=2951 734f:f4a56b90 EXIT SQLAllocConnect with return code 0 (SQL_SUCCESS)
HENV 0x0a0cf8c8
HDBC * 0x0a12f278 ( 0x0a12f398)
ppid=1:pid=2951 734f:f4a56b90 ENTER SQLSetConnectOption
HDBC 0x0a12f398
UWORD 110
UDWORD 0
ppid=1:pid=2951 734f:f4a56b90 EXIT SQLSetConnectOption with return code 0 (SQL_SUCCESS)
HDBC 0x0a12f398
UWORD 110
UDWORD 0
ppid=1:pid=2951 734f:f4a56b90 ENTER SQLSetConnectOption
HDBC 0x0a12f398
UWORD 108
UDWORD 2
ppid=1:pid=2951 734f:f4a56b90 EXIT SQLSetConnectOption with return code 0 (SQL_SUCCESS)
HDBC 0x0a12f398
UWORD 108
UDWORD 2
ppid=1:pid=2951 734f:f4a56b90 ENTER SQLDriverConnectW
HDBC 0x0a12f398
HWND 0x00000000
WCHAR * 0xf31ad2c0 [ -3] "******"
SWORD -3
WCHAR * 0xf31ad2c0
SWORD 6
SWORD * 0xf4a4d9de
UWORD 0 <SQL_DRIVER_NOPROMPT>
I am new to OBIEE and would appreciate any help . I have verified that data source names used in administration matches ODBC DSN in odbc.ini.S Chatterji wrote:
We are in the process of testing backup recovery for our database. We want to test point in time recovery using RMAN.
Issue:
Our production has (64 bit)
Linux DbProd.xxx.dk 2.6.18-164.0.0.0.1.el5xen #1 SMP Thu Sep 3 00:34:43 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
and our test area on VMware has (32 bit)
Linux dbprod.xxx.dk 2.6.18-128.2.1.4.9.el5xen #1 SMP Thu Sep 3 00:34:43 EDT 2009 i686 i686 i386 GNU/Linux
Please advice a best practice to achieve this.
Thanks.
S ChatterjiDuplicate posts do not increase your chances for an answer
Database » Database - Upgrade, - Test recovery on 32 bit Linux where as Production is on 64 bit with Archive
Database » Installation, - Test recovery on 32 bit Linux where as Production is on 64 bit with Archive -
Deploy Applet and MySQL - how to read and write
Question on deploying Applet and MySQL
I am building an applet that is to be a part of a simple game. The applet is supposed to read data from a MySQL server and use it to place towns on the map. In addition, the applet must be able to write to the base.
I have build a prototype and ran it in netbeans on my computer. It then successfully read data from a local MySQL base. HOWEVER; when I embed the applet in html code it no longer reads from the base. My method for connecting to the base is
try{
Statement stmt;
ResultSet rs;
Class.forName("com.mysql.jdbc.Driver");
String url=adress;
Connection con=DriverManager.getConnection(url, user, user);
stmt=con.createStatement();
rs=stmt.executeQuery("SELECT * " +
"from "+table+" ORDER BY id");
while(rs.next()){
get data...
Town T=new Town(data...); //construct town object
TL.put(T); //put town objects in an object TownList to use later
con.close();
catch(Exception e){
So;
1) Why wont the applet read anymore?
2) Is there a better way to do this? I have heard that its better to connect applets to servlets in some situations. What demands does this place on the server? Is there software that you need to install on the server to use servlets?I think I do need an applet. The map I have written permits a lot of features that I dont know how to achieve in another way.
1) Zooming in and out on mousewheel
2) Clicking on on two towns gives the distance and by selecting a trooptype one can get information about the traveltime between cities.
3) Right now, I have a feature to find players or groups of players that are of special interest. It allows a player to submit a list of interesting players. The applet reads this list and provides a button with the players name. If one clicks the name of a player, all his cities flash between their originall color and white (using thread).
I need java to do this and I need to run it in a webbrowser because there are som parts of the game that is made up of php. So I assume I have to build it as an applet? -
PHP/MySQL Record Insert question
I am working with which PHP 4.4.2, MySQL Server 5.0 running
on Apache 2.0.55, and I am developing my web-site with Dreamweaver
8. All of which is running locally on my machine.
I am working on a real-estate website that allows landlords
around my local area to login to the web-site and add their
apartment or housing rental units into a database that students
that go to my small university can browse and search through. The
landlords register through a form that loads into a 'landlords'
table in the database and MySQL auto-increments an ID into a
'landlord_id' column which obviously assigns them their
'landlord_ID'.
My question is: When the landlord is filling out the form to
add one of their rental units ( which loads into a separate table I
called 'sites'), how can I make their 'landlord_id' (which resides
in the 'landlords' table) be entered into the 'landlord_id' column
in the 'sites' table for each site that they enter into the
database?
I'm trying to do this because when the landlord first logs
in, I'm going to have a dynamic table that displays all of the
sites they already have entered in the database, and only displays
their sites that they have already entered in by only displaying
the sites that have their 'landlord_id' in the site record.
Thanks so much for your help, and if I'm being confusing at
all, please reply or email me so I can clarify.Cade06 wrote:
> Thanks alot for your reply, but I am completely new to
MySQL, and I am not
> quite sure how the syntax works. When you say " WHERE
landlord_username =
> 'whatever' "I'm not sure what needs to go in the
'whatever' portion of the
> code. Do I need to insert static text here or something
else? I am totally out
> of my element here, sorry :-/
It's probably not so much MySQL syntax that's the problem for
you, but a
lack of understanding how to work with Dreamweaver
recordsets, server
behaviors, and sessions. Building database-driven sites with
Dreamweaver
isn't difficult, but there are a lot of things involved.
The Log In User server behavior automatically creates a
session variable
called $_SESSION['MM_Username']. You can use this as a
parameter to pass
to the SQL query in the Advanced Recordset dialog box. In the
SQL area
you would type (I'm guessing the name of your table and the
username
column):
SELECT landlord_id FROM landlords
WHERE landlord_username = 'col1'
Then click the plus button above the Variables area, and
create a
Parameter with the following values:
Name: col1
Default value: 1
Runtime value: $_SESSION['MM_Username']
You can then extract the result of the recordset, and assign
it to a
session variable like this:
$_SESSION['landlord_id'] = $row_recordsetName['landlord_id'];
> Also, I understand that I need to do this on the login
page, but do I need to
> define the recordset again on the add_site page as well?
I guess I'm still not
> quite clear on how I specify the session variable as the
value that needs to be
> entered in the sites table as the landlord_ID.
As long as the session is still valid (which it would be if
you use
Restrict Access to Page), you will always have access to that
landlord's
id through $_SESSION['landlord_id'].
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/ -
[solved]Delay mySQL startup by 30 secs in /etc/rc.conf
Basically I use wpa_supplicant and it takes a a bit to connect, by the time /etc/rc.conf gets to the mysql startup service, mySQL cannot bind to my servers address,
This is because wpa_supplicant probably hasn't got an IP address yet, so mySQL fails to start at bootup every time, however right after the boot I can log in and manually boot it just fine.
Any Ideas? Maybe delay the mysql by 30-40 seconds at boot? Anyone know how?
Last edited by kr1zmo (2010-07-05 23:57:10)itsbrad212 wrote:
You could put:
/etc/rc.d/mysqld start
in /etc/rc.local
Thanks for the reply but I solved this by removing the @ before netprofiles, so that wpa_supplicant doesnt startup in the background, therefor everything else waits until wpa_supplicant is connected before it boots.
Last edited by kr1zmo (2010-07-05 23:59:58) -
How to configure array for UAG 2010 with topology Between a frontend firewall and a backend firewall
Hi,
We want to publish exchange 2013 through UAG 2010. What is the best topology for UAG 2010?
Can we configure UAG 2010 arrawy with topology "Between a frontend firewall and a backend firewall" ?
Can we configure UAG 2010 array in workgroup?
What is the drawback to use ARR to publish exchange 2013?
Thanks
Jitender
jitenderHi Jitender - I have doen quite a few UAG deployments like this and is fully supported sitting in a DMZ between Firewalls. However, for an array the UAG Servers muts be domain joined. In these deployments the question is whether to place a Domain In the
DMZ (locked down of course) or allow traffic through to a domain controller via the backend firewall.
The link you require is here -
http://technet.microsoft.com/en-gb/library/ee428826.aspx
Kr
John Davies
Maybe you are looking for
-
ArrayList help indexing a string
Basically for this project, I need the user to input a sentence and then i have to print out the different words with their index. For example if the user inputs the following: Hello Hello Hello World World World Hello The program should output: Hell
-
From database to drop down box
Hi all, Suppose I have the following String query ="Select name, number from Person"; I want to put all the "names" in a drop down box and all the "numbers" in a separate drop down box. When I do this: while(rs.next()){ <select="person" onchange="sho
-
Verizon bill showing I texted 8012222269 internationally and I did not
Good evening, Some back-story: Ever since the "premium messaging" debacle I was involved in with regard to text messaging on my LG Env3 I have reviewed closely all text message charges on my Verizon bill. On the LGE3 I received some spam text messa
-
Confirmation based on Work center
Hi, Can we do Confirmation of Qty based on Work cetner? Means that i have Order Qty for 100Pc. in the same order i want to confirm the Qty in WC1 for 60PC and another Workcenter WC2 for 40 PC. To check the utilization of Work centers is there any pos
-
Driver's SQLSetConnectAttr failed in MSQuery
Hi to all Months ago I migrated my Oracle 9.2.0.8 32bit DB to Oracle 11gR2 64bit DB. Yesterday I created several new user account in the DB. However, these users reported that they encountered *"ORA-01017: invalid username/password; logon denied. Dri