Related to MySql

data in mysql table is getting cleared when i am using getResultList through toplink

Can you provide more details? Is there any chance you have configured the automatic dropping and creation of tables on startup of the persistence unit?
Doug

Similar Messages

  • Simple Question related to MySQL

    Dear All,
    Sorry for posting MySql question in Oracle forums.
    I am an Oracle DBA. I have a task of getting count of records in a particular table residing in MySql database. It's pretty straight forward in Oracle using SQL*Plus.
    Below is my sql script to find out number of records in table "T1", I call it b.sql:
    conn test/test
    select count(*) from t1;
    exit;and this is the way I run it against oracle database using SQL*Plus:
    C:\oracle>sqlplus /nolog @c:\b.sql
    SQL*Plus: Release 10.2.0.4.0 - Production on Mon Apr 19 14:34:05 2010
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Connected.
    COUNT(*)
    11253
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    C:\oracle>I need a similar script in MySql. Appreciate if you could help me with this basic task.
    Regards
    prem

    Hi Kamran,
    Thanks for your time.
    I do NOT want the SQL query neither looking how to use COUNT function in MySql. I need to execute a script by connecting to mysql database.
    I have googled it and I am NOT relaxing for a solution. I am trying my best to find the solution.
    Prem

  • Is error code related or mySQL db?

    Hi there.
    DW CS3, PHP mySQL & Apache server on Vista Ultimate
    I'm getting this error when viewing a search result:
    Warning: reset() [function.reset]: Passed variable is not an
    array or
    object in C:\EasyPHP\www\myweb\products\search-results.php on
    line 99
    Warning: Variable passed to each() is not an array or object
    in C:\EasyPHP
    \www\myweb\products\search-results.php on line 100
    Apart from this, the page displays 100% with the relevant
    results.
    This is line 99 & 100
    reset ($HTTP_GET_VARS);
    while (list ($key, $val) = each ($HTTP_GET_VARS)) {
    Thank you so long for your help.
    Regards,
    Deon

    On 14 Apr 2008 in macromedia.dreamweaver, Deon H wrote:
    > Apart from this, the page displays 100% with the
    relevant results.
    > This is line 99 & 100
    > reset ($HTTP_GET_VARS);
    > while (list ($key, $val) = each ($HTTP_GET_VARS)) {
    Try changing $HTTP_GET_VARS to $_GET.
    Where did this code come from? $HTTP_GET_VARS is deprecated;
    it was
    replaced by $_GET in PHP 4.1.0 which was released at the end
    of 2001.
    Joe Makowiec
    http://makowiec.net/
    Email:
    http://makowiec.net/contact.php

  • Is MySQL a RELATIONAL DBMS

    Hi all
    I'm now using Ms Access with my java app but i want to migrate to another rdbms. anyone could tell me if MySql is RELATIONAL or indicate me another with this feature?
    thanx all
    sandro

    Hi all
    I'm now using Ms Access with my java app but i want to
    migrate to another rdbms. anyone could tell me if
    MySql is RELATIONAL or indicate me another with this
    feature?
    thanx all
    sandro(1) It's been a while I was really familiar with relational theory, but you'll probably find no commercial RDBMS which is fully "relational". MySQL is no exception
    (2) MySQL use to have some limitations compared to other RDBMS like no transactions and no support for foreign keys. I'm not sure how far the latest versions have gotten, but you should have an eye on these issues
    (3) I think you can write big apps with MySQL as well, it depends on the structure of your app. if most of the stuff you are doing is read-only, then you might also go with a cluster of cheap linux/mysql machines instead of a more expensive Oracle/DB2/SQLServer installation.
    (4) MySQL acutally has some success stories:
    http://www.mysql.com/articles/us/yahoo_finance.html
    (5) there is another nice open-source DBMS out there: PostgreSQL (www.postgresql.org). Support for transactions and foreign keys is given; the syntax is pretty similar to Oracle. I'm not sure where the Windows version is, but the Linux version rocks. On a personal level I do prefer PostgreSQL to MySQL

  • Trigger to insert unique data into other table (having more than 40 millions of records) - MYSQL

    Hi All,
    i am facing impact of trigger in MYSQL, scenario is this:
    I am Having one table with duplicate records that is consist of (eid,tin,status and some other columns are also there but i need only these three).  there is another table which is having same these three columns (eid, tin, status).
    eid and tin will be same for given combination only status will be different i.e.
    1245 23 0
    1245 23 1
    1245 23 5
    1233 33 3
    1211 24 2
    1211 24 5
    so as per above example i have to feed data into other table as
    1245 23 0
    1233 33 3
    1211 24 5
    priority of status is like 0 will be inserted if that is present in record otherwise it will be decrease from 5 to 1.
    so i have designed trigger for this which will insert data after reading each row, but it is taking around 6.5 minutes for inserting 300000 records. so is there any other way to improve performance  for this mysql program.
    DELIMITER $$
    CREATE
        /*[DEFINER = { user | CURRENT_USER }]*/
        TRIGGER `kyr_log`.`upd_status` AFTER INSERT
        ON `kyr_log`.`kyrlog_bup`
        FOR EACH ROW
        BEGIN
    DECLARE v_eid VARCHAR(28);
    DECLARE v_status INT(11);
    SELECT kyrl_eid,kyrl_status INTO v_eid,v_status FROM kyrlog_bup ORDER BY kyrl_id DESC LIMIT 1;
       IF v_eid NOT IN (SELECT kyrl_eid FROM update_status.new_status) THEN
    INSERT INTO update_status.new_status(kyrl_eid,kyrl_tin,kyrl_status)
    SELECT kyrl_eid,kyrl_tin,kyrl_status FROM kyrlog_bup ORDER BY kyrl_id DESC LIMIT 1;
       ELSE IF v_status=2 THEN
    IF v_status > ANY (SELECT kyrl_status FROM kyrlog_bup WHERE kyrl_eid=v_eid AND kyrl_status<>0) THEN
              UPDATE update_status.new_status SET kyrl_status=v_status WHERE kyrl_eid=v_eid;
    END IF;
       ELSE IF v_status=3 THEN
    IF v_status > ANY (SELECT kyrl_status FROM kyrlog_bup WHERE kyrl_eid=v_eid AND kyrl_status<>0) THEN
              UPDATE update_status.new_status SET kyrl_status=v_status WHERE kyrl_eid=v_eid;  
    END IF;
       ELSE IF v_status=4 THEN
    IF v_status > ANY (SELECT kyrl_status FROM kyrlog_bup WHERE kyrl_eid=v_eid AND kyrl_status<>0) THEN
               UPDATE update_status.new_status SET kyrl_status=v_status WHERE kyrl_eid=v_eid; 
    END IF;
       ELSE IF v_status=5 THEN
    IF v_status > ANY (SELECT kyrl_status FROM kyrlog_bup WHERE kyrl_eid=v_eid AND kyrl_status<>0) THEN
               UPDATE update_status.new_status SET kyrl_status=v_status WHERE kyrl_eid=v_eid;
    END IF;
               ELSE IF v_status=0 THEN
    UPDATE update_status.new_status SET kyrl_status=v_status WHERE kyrl_eid=v_eid;            
              END IF;
           END IF;
           END IF;
           END IF;
           END IF;
           END IF;
        END;
    $$
    DELIMITER ;
    please suggest me if there is  possibility of any other solution.
    thanks

    actually you didn't have seen discussion on this link , there are many discussion related to MYSQL . and mysql is owned by oracle. so i post it here.
    thanks for suggestion

  • Importing XML database to create equivalent mysql database

    I have created an XML database.Now I need to create a MySQL database with similar structure.
    Due to it's nested structure and complex dependencies, I find it difficult to identify and design the tables and relations in MySQL(I fear of redundancies).
    So,I am looking for some tool or a way to create an equivalent MySQL database.
    Thanks.

    fine.
    But i think exp/imp binary don't support 9i to 10g import.
    so you using 10g export binary to take the 9i database full backup and import into 10g database use the 10g export binary.
    Regards
    Rajabaskar

  • Associations with MySQL

    Hi guys,
    I've been using ADF to connect to a MySQL database backend. However, JDeveloper incorrectly translates the relations between MySQL tables into associations, which mean I had to delete all the associations and manually recreate the proper ones.
    This is a tedious job because it means I had to recreate all the viewlinks manually too.
    Does anyone know a way to resolve this issue?
    Imad

    Imad, please tell us your jdev version!
    From your post we can't see any error in the behavior of JDEV. Relations between tables are mapped to associations between EOs and view links between VOs.
    I guess you used the business components from table option to create the EOs and VOs. You don't have to use the wizard, you can create the EOs yourself and this way avoid the creation of the automatic associations.
    Timo

  • Mysql, transactions and connections

    Hi,
    I have two problems:
    1. I am using mysql 3.23 and JBuilder 6 and I would like to use transactions.
    I created a database and a table InnoDb and when I try from my application to setautocommit(false) I get the following error:
    See com.borland.dx.dataset.DataSetException error code: BASE+66
    com.borland.dx.dataset.DataSetException: Cannot disable AUTO_COMMIT
    I tried lots of things in the mysql server and in my application and I don't know wether it's a configuration of the server, something I need to set first in the WinMySqlAdmin or something I have to do in my application.
    I would really use some help.. If anyone could also provide a small example please..
    2. It's also related to Mysql
    I have a server that opens a connection to the database. I want to know what I have to set in the mysql server so that the connection is not lost if the server is not active a long time.. I thought that if I set the interactive_timeout and the wait_timeout at a high level the problems would be solved but when I did some testing by setting the values to 30 seconds the connection persisted. Does anyone know why?
    Please help
    Thanks

    "MySql does not support transactions" is correct.
    Basically there are no commit or rollback statements
    available in MySql. This is I am talking about
    version 3.2.3 I believe. I have used it long back.incorrect.
    if you use the default myISAM tables than there is no transaction support. however, if you use INNODB then there is transaction support available in versions of 3 etc. for sure.
    however, you need a driver that knows this and supports this. i believe the newer versions of the mysql driver support them i know the older org.gjt.mm driver does NOT.
    what driver are you using? some borland one? look at the support there.

  • ColdFusion/Flashbuilder/MySql Date Error - This is a bug

    In ColdFusion9/Flashbuilder4/MySql....
    I generate a CFC completely with the flashbuilder wizard, throwing a datagrid on the page and dropping "get All" on top and run it,
    On Hostek with CF9 and MySql 10.10.11.3, It produces  a list of dates that are all one day prior to what is actually listed in the mysql database (phpMyAdmin), same for several custom written cfc's. If I run a cfm calling the cfc it gives the proper dates, but when Flashbuilder calls the same cfc it gives everything one day off.
    Locally on my machine with Mamp circa 2004 this works correctly and lists the correct dates.
    Any suggestions?
    Thanks
    Dan Pride

    The following is a response from Hostek describing the problem from their end
    From:
    "HosTek.com Support" <[email protected]>
    To:
    [email protected]
    Dan,
    I just tested this using a MacOS 10.4,
    Windows XP,  Vista, 7, Ubuntu 10.04. Site shows correct date using all of the above,  tested using external connection - the date is showing correctly. Yet,  trying to pull it up using SkyFire 1.5 browser on WindowsMobile, I am  getting the same "one day back" issue that you are seeing.
    This  really sounds like an issue with the client computer and the way the  data is being interpreted localy, not the issue with the server.  However, I think we might be able to help you pin point this bug.
    If  you are able to run this without a problem on your local machine, are  you able to change your local DSN - BlueRose to point to "
    xxxx instead of using localhost but run the application from your local  machine? This will tell you if the bug might be related to MySQL  version.
    Another thing to check would be the version of flash  player. Computers here that are displaying the page correctly are  running 10,1,85,3 (with Ubuntu running 10,0,45,2) and SkyFire that is  not displaying the date correctly is running 10,0,32,18.
    Please let us know if you need any further assistance.
    Alex Y.

  • [SOLVED]MySQL doesn't work anymore

    It starts fine:
    [root@server ~]# /etc/rc.d/mysqld restart
    :: Stopping MySQL [DONE]
    :: Starting MySQL [DONE]
    [root@server ~]#
    BUT, it no longer works:
    http://doorknob60.is-a-geek.org/wiki
    http://doorknob60.is-a-geek.org/wordpress
    Both give errors, as well as Phpmyadmin. I can't seem to find any relevant log files either. I tried some random stuff, but nothing seems to work. I just got MySQL set up on this box about 2 days ago, then an update comes around and messes it up again
    Last edited by doorknob60 (2009-11-18 23:57:58)

    Yes, I did read that. Even after messing with config files it doesn't work. And PHP config? I'll assume that's a typo. What all do you have to change? Everything looks fine on my current my.cnf file, I think at least.
    # mysql config file for medium systems.
    # This is for a system with little memory (32M - 64M) where MySQL plays
    # a important part and systems up to 128M where MySQL is used together with
    # other programs (like a web server)
    # One can in this file use all long options that the program supports.
    # If you want to know which options a program support, run the program
    # with --help option.
    # The following options will be passed to all MySQL clients
    [client]
    password = ~password removed~
    port = 3306
    socket = /var/run/mysqld/mysqld.sock
    # Here follows entries for some specific programs
    # The MySQL server
    [mysqld]
    port = 3306
    socket = /var/run/mysqld/mysqld.sock
    datadir = /var/lib/mysql
    pid_file = /var/run/mysqld/mysqld.pid
    skip-locking
    key_buffer = 16M
    max_allowed_packet = 1M
    table_cache = 64
    sort_buffer_size = 512K
    net_buffer_length = 16K
    myisam_sort_buffer_size = 8M
    # Don't listen on a TCP/IP port at all. This can be a security enhancement,
    # if all processes that need to connect to mysqld run on the same host.
    # All interaction with mysqld must be made via Unix sockets or named pipes.
    # Note that using this option without enabling named pipes on Windows
    # (via the "enable-named-pipe" option) will render mysqld useless!
    #skip-networking
    # Replication Master Server (default)
    # binary logging is required for replication
    #log-bin
    # required unique id between 1 and 2^32 - 1
    # defaults to 1 if master-host is not set
    # but will not function as a master if omitted
    server-id = 1
    # Replication Slave (comment out master section to use this)
    # To configure this host as a replication slave, you can choose between
    # two methods :
    # 1) Use the CHANGE MASTER TO command (fully described in our manual) -
    # the syntax is:
    # CHANGE MASTER TO MASTER_HOST=<host>, MASTER_PORT=<port>,
    # MASTER_USER=<user>, MASTER_PASSWORD=<password> ;
    # where you replace <host>, <user>, <password> by quoted strings and
    # <port> by the master's port number (3306 by default).
    # Example:
    # CHANGE MASTER TO MASTER_HOST='125.564.12.1', MASTER_PORT=3306,
    # MASTER_USER='joe', MASTER_PASSWORD='secret';
    # OR
    # 2) Set the variables below. However, in case you choose this method, then
    # start replication for the first time (even unsuccessfully, for example
    # if you mistyped the password in master-password and the slave fails to
    # connect), the slave will create a master.info file, and any later
    # change in this file to the variables' values below will be ignored and
    # overridden by the content of the master.info file, unless you shutdown
    # the slave server, delete master.info and restart the slaver server.
    # For that reason, you may want to leave the lines below untouched
    # (commented) and instead use CHANGE MASTER TO (see above)
    # required unique id between 2 and 2^32 - 1
    # (and different from the master)
    # defaults to 2 if master-host is set
    # but will not function as a slave if omitted
    #server-id = 2
    # The replication master for this slave - required
    #master-host = <hostname>
    # The username the slave will use for authentication when connecting
    # to the master - required
    #master-user =
    # The password the slave will authenticate with when connecting to
    # the master - required
    #master-password =
    # The port the master is listening on.
    # optional - defaults to 3306
    #master-port = <port>
    # binary logging - not required for slaves, but recommended
    #log-bin
    # Point the following paths to different dedicated disks
    #tmpdir = /tmp/
    #log-update = /path-to-dedicated-directory/hostname
    # Uncomment the following if you are using BDB tables
    #bdb_cache_size = 4M
    #bdb_max_lock = 10000
    # Uncomment the following if you are using InnoDB tables
    #innodb_data_home_dir = /var/lib/mysql
    #innodb_data_file_path = ibdata1:10M:autoextend
    #innodb_log_group_home_dir = /var/lib/mysql
    #innodb_log_arch_dir = /var/lib/mysql
    # You can set .._buffer_pool_size up to 50 - 80 %
    # of RAM but beware of setting memory usage too high
    #innodb_buffer_pool_size = 16M
    #innodb_additional_mem_pool_size = 2M
    # Set .._log_file_size to 25 % of buffer pool size
    #innodb_log_file_size = 5M
    #innodb_log_buffer_size = 8M
    #innodb_flush_log_at_trx_commit = 1
    #innodb_lock_wait_timeout = 50
    [mysqldump]
    quick
    max_allowed_packet = 16M
    [mysql]
    #no-auto-rehash
    # Remove the next comment character if you are not familiar with SQL
    #safe-updates
    [isamchk]
    key_buffer = 20M
    sort_buffer_size = 20M
    read_buffer = 2M
    write_buffer = 2M
    [myisamchk]
    key_buffer = 20M
    sort_buffer_size = 20M
    read_buffer = 2M
    write_buffer = 2M
    [mysqlhotcopy]
    interactive-timeout
    Also, is there some place I'm missing when looking for error logs? I'm looking in /var/log and see nothing related to mysql
    Last edited by doorknob60 (2009-11-18 23:28:47)

  • IMac G5 only starts up in Single-User Mode

    I am using an iMac G5 with the lastest version of Tiger.
    I was trying to make a my.cnf file for MySQL for it to start logging queries, however was having some trouble doing so. After restarting MySQL a few times it would not start up any more, so I tried restarting the computer.
    After doing this Personal Web Sharing (httpd) would say that it was running although would not serve pages. So I tried restarting httpd which got it running properly, however I still had the same problem with MySQL, where it would not start running (the Preference pane would not respond when clicking "Start".)
    So I tried restarting again. Now my iMac will only boot into single-user mode.
    I read somewhere about modifying the boot-args, however have not had a chance to try it yet. I don't see why this would do anything however, as I'm not sure why that would have been changed in the first place?
    Has anyone heard of a similar instance, which is possibly related to MySQL?
    Thank you in advance for any help.
    - Jeff
    G5 iMac   Mac OS X (10.4.7)  

    I solved this. I was able to boot up in verbose mode and note that a certain missing file '/etc/hostconfig' was mysteriously missing and causing an error at the boot-up. I was able to boot this mac up in Target Disk mode and copy the file into the /etc/ directory from a backup through another Mac and now it's working fine, thank G-d!
    - Jeff

  • TableAdapter Configuration Wizard Bind Commands

    I am trying to use the TableAdapter Configuration Wizard to bind Insert and Update strored procedures to a Select stored procedure. When I choose the select stored proc, the list of data columns should appear on the list but nothing happens (it's not searching or anything). The select stored procs takes no other params (exept the Out sys_cursor) and returns 7 columns (string, string, string, datetime, string, int32, int32) nothing fancy. I want to do this to associate Insert and update parameters to specific columns for datagrids updates.
    I am using:
    VS 2010 Pro sp1
    Oracle Developer Tool for vs 11.2.0.2.0
    Oracle client 11.2.0.2.0
    Oracle database 11.2.0.2.0
    ODP version 11.2.0.2.1
    Note: When I drag the stored proc on the dataset gui, I get all the columns.
    Any help would be greatly appreciated.
    Thank you

    Hi Fabs,
    According to your description, this issue is related to MYSQL. I am afraid this is out of our support. I would suggest that you could ask this issue in their official forum. Here is the link,
    http://forums.mysql.com/
    Thanks for your understanding.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Failed to start  java application server  8

    hi every body,
    hi every body,
    i am getting the famous error:
    " failed to start sun java application server 8 possible causes:
    -port conflict
    -incorrect server configuration(domain.xml need to be corrected manually)
    -corrupted deployed application preventing server to start (domain.xml needs to be modified) "
    the thing is that i know the cause of error it is the 3rd one since i had some exception while running a project and since on this error was appearing,and i didnt know how to solve this problem i.e how to edit the domain.xml file
    so i uninstaled and reinstaled the java cretor a number of times every time i face the problem, but the last time i did so the folder C:\Sun\Creator\SunAppServer8\domain that contains the file domain.xml was not even there and i dont know why did that happen or how to solve it
    please help,
    regards.

    i too have a similar problem - mine seems to be related to MySQL access but I cant find any help on the problem - surely there is a better way than to continually re-install - on the previous version i could work it out without a re-install but not with the update.
    i havent found anything in the server logs - they are huge docs - i cant see how it can be a port conflict as its ok 1 minute and not the next.
    i just need a pointer to where to look ?
    thanks in advance

  • Mariadb failed to start again [solved]

    mariadb is not starting, or restarting. 
    i have poured over topics, tried a few things, but not really sure where to go next.
    $ journalctl -xn
    -- Logs begin at Fri 2014-09-19 23:05:01 PDT, end at Sun 2014-10-26 15:07:23 PDT. --
    Oct 26 15:05:53 falcon systemd[1]: mysqld.service: main process exited, code=exited, status=1/FAILURE
    Oct 26 15:05:53 falcon mysqld[971]: 141026 15:05:53 [ERROR] Aborting
    Oct 26 15:07:23 falcon systemd[1]: mysqld.service start-post operation timed out. Stopping.
    Oct 26 15:07:23 falcon systemd[1]: Failed to start MariaDB database server.
    -- Subject: Unit mysqld.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Unit mysqld.service has failed.
    -- The result is failed.
    Oct 26 15:07:23 falcon systemd[1]: Unit mysqld.service entered failed state.
    Oct 26 15:07:23 falcon systemd[1]: Cannot add dependency job for unit zfs.service, ignoring: Unit zfs.service failed to load: No such file or directory.
    Oct 26 15:07:23 falcon systemd[1]: Cannot add dependency job for unit swat.socket, ignoring: Unit swat.socket failed to load: No such file or directory.
    Oct 26 15:07:23 falcon mysqld[1606]: 141026 15:07:23 [ERROR] /usr/bin/mysqld: ambiguous option '--u' (user, use_stat_tables)
    Oct 26 15:07:23 falcon mysqld[1606]: 141026 15:07:23 [ERROR] Aborting
    Oct 26 15:07:23 falcon systemd[1]: mysqld.service: main process exited, code=exited, status=1/FAILURE
    $ systemctl status mysqld.service
    * mysqld.service - MariaDB database server
    Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled)
    Active: activating (start-post) (Result: exit-code) since Sun 2014-10-26 14:58:07 PDT; 15s ago
    Process: 9807 ExecStart=/usr/bin/mysqld --pid-file=/run/mysqld/mysqld.pid (code=exited, status=1/FAILURE)
    Main PID: 9807 (code=exited, status=1/FAILURE); : 9808 (mysqld-post)
    CGroup: /system.slice/mysqld.service
    `-control
    |-9808 /bin/sh /usr/bin/mysqld-post
    `-9920 sleep 1
    Oct 26 14:58:07 falcon mysqld[9807]: 141026 14:58:07 [ERROR] /usr/bin/mysqld: ambiguous option '--u' (user, use_stat_tables)
    Oct 26 14:58:07 falcon mysqld[9807]: 141026 14:58:07 [ERROR] Aborting
    Oct 26 14:58:07 falcon systemd[1]: mysqld.service: main process exited, code=exited, status=1/FAILURE
    $ mysql -u root -p
    Enter password:
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2 "No such file or directory")
    $ mysql_install_db --user=mysql --ldata=/var/lib/mysql/
    FATAL ERROR: Could not find ./share/mysql/fill_help_tables.sql
    If you compiled from source, you need to run 'make install' to
    copy the software into the correct location ready for operation.
    If you are using a binary release, you must either be at the top
    level of the extracted archive, or pass the --basedir option
    pointing to that location.
    The latest information about mysql_install_db is available at
    https://mariadb.com/kb/en/installing-system-tables-mysql_install_db
    i looked in /var/log and im not seeing anything related to mysql, no file with the name mysql, and no folder either...   so i looked in my.cnf, saw it was pointing to /var/log/mysqld.log, so i created this file, chowned it to mysql:mysql, chmod 770, and i still cant restart it.  (i havent rebooted since i created the log file, do i need to?)
    i do see it saying something about
    ambiguous option '--u'
    , is that the problem?
    any suggestions on how to dig out more info here so i can figure out whats going on?
    Last edited by wolfdogg (2014-10-26 22:22:12)

    crap, in my mysql conf file, i found the
    u
    , it was here
    u# table_open_cache = 64
    where that came from i have no idea.  it restarted RIGHT away just after that
    $ systemctl start mysqld
    $ systemctl status mysqld.service
    * mysqld.service - MariaDB database server
    Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled)
    Active: active (running) since Sun 2014-10-26 15:19:33 PDT; 1min 47s ago
    Process: 6659 ExecStartPost=/usr/bin/mysqld-post (code=exited, status=0/SUCCESS)
    Main PID: 6658 (mysqld)
    CGroup: /system.slice/mysqld.service
    `-6658 /usr/bin/mysqld --pid-file=/run/mysqld/mysqld.pid
    Oct 26 15:19:27 falcon mysqld[6658]: 141026 15:19:27 [Warning] /usr/bin/mysqld: ignoring option '--character-set-client-handshake' due to invalid value 'utf8'
    Oct 26 15:19:27 falcon mysqld[6658]: 141026 15:19:27 [Warning] option 'max_heap_table_size': unsigned value 0 adjusted to 16384
    Oct 26 15:19:27 falcon mysqld[6658]: 141026 15:19:27 [Warning] Changed limits: max_open_files: 1024 max_connections: 214 table_cache: 400

  • AccessControlContext Excpetion

    Hello,
    I'm using the Tahiti aglet viewer with some java codes. I created a file called TopSecret.dat and
    I would like to access is thru the tahiti, but there are some java exceptions appear in the Dos
    command interface:
    Exception in thread "No.1]" java.security.AccessControlException: access denied (java.io.File
    Permission c:\aglets\TopSecret.dat read)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at com.ibm.aglets.tahiti.AgletsSecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkRead(Unknown Source)
    at java.io.FileInputStream.<init>(Unknown Source)
    at java.io.FileReader.<init>(Unknown Source)
    at Examples.First.AdvancedAgent.run(AdvancedAgent.java:18)
    at com.ibm.aglets.SystemMessage.handle(Unknown Source)
    at com.ibm.aglets.AgletThread.run(Unknown Source)
    I'm not sure if this is the right place to post the topic, I searched alot about this topic and all
    what I found is something related to MySQL.
    I maybe need to change the policy permissions, but I have no expersience at that at all.
    Can anyone help please??
    Thanks in Advance.

    Please? Is it possible that no one knows the answer?

Maybe you are looking for

  • Location of DW CS3 files on a Mac

    I am running Dreamweaver CS3 on a Mac Pro running OSX 10.4 Tiger. I am about to upgrade to 10.5 Leopard and I want to do a clean install of all my CS3 products. I will have a full backup of my HD and I want to copy all my preferences for CS3 software

  • BAPI_ACC_DOCUMENT_POST how to post a document relate with assets

    Hello all, I'm using this BAPI to replicate the financial accounting flow. I've achieved to post almost of document types but asset documents. I've got the following error: "Account 'Contra account: Acquisition value' could not be found for area 01"

  • AP_BUILD_SOURCING_PVT package

    Hi, Im working with oracle applications 11.5.8 instance. I take Health check report for this as a daily practice. When i look into the report i found the DDL_TIME of the following packages getting modified frequently. Could you please help me out in

  • SOA Suite 10.1.3.1.0 BPEL Process, no domain drop down.

    I've installed SOA Suite 10.1.3.1.0 with an Oracle 10g Enterprise Dehydration Database on a separate server. Currently we have two BPEL Domains, however, when trying to launch the BPEL Console, I do not get a drop down list to select between the two

  • Content Areas and Pages

    Hi, Is there a way to exporte pages and/or content areas from Portal? Is so how can i do it? Pedro