Question

MySQL - User missing / lost when server restarted

Asked by: Francois_Tremblay

Hi!

I have some problem with a MySQL Server 5.1 that is running on OpenVMS.

I create 2 users, on with a password and the other without any.  
However, when we stop the server and restarts it, the users disappear and we have to recreate them.

mysql> show grants for 'general_user2';
+--------------------------------------------------------------------------------------------------------------+
| Grants for general_user2@%                                                                                   |
+--------------------------------------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'general_user2'@'%' IDENTIFIED BY PASSWORD '*2470C0C06DEE42FD1618BB99005ADCA2EC9D1E19' |
| GRANT SELECT ON "grhbd\_prod".* TO 'general_user2'@'%'                                                       |
+--------------------------------------------------------------------------------------------------------------+
2 rows in set (0.00 sec)

mysql> show grants for 'general_user';
+----------------------------------------------------------------+
| Grants for general_user@%                                      |
+----------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'general_user'@'%'                       |
| GRANT SELECT, EXECUTE ON "grhbd\_prod".* TO 'general_user'@'%' |
+----------------------------------------------------------------+
2 rows in set (0.00 sec)

What needs to be done for the account to be "permanent" ?

Let me know if you need other information.. I'll try to answer fast.

Thanks!

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-10-28 at 07:44:54ID24851094
Topics

MySQL Server

,

Databases Miscellaneous

,

VMS / OpenVMS Operating System

Participating Experts
3
Points
500
Comments
9

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. count prod for date
    I have a MasterTable with 2 columns Date Prod 1/1/2004 Mtg 1/1/2004 Mtg 1/1/2004 Ass 8/5/2004 Ass 8/5/2004 Ass I Need to write a package that will give me the info below on a second table ProdCount. ( I already created the second table, I just need...
  2. MySQL - Tables disappeared
    It’s possible that some tables from a database suddenly disappear? That happened last week and I’m still looking for clues about it. About 50 of 70 tables just gone away. How can I discard a database failure or tables corruption? I’m working with MySQL 4.0.18 and using Inn...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: quicksilver17Posted on 2009-10-28 at 15:46:56ID: 25689080

have you FLUSH PRIVILEGES; ?

 

by: ushastryPosted on 2009-10-30 at 01:38:29ID: 25700989

Could you post the output of below SQL commands & also post the error log contents

show global variables;

 

by: Francois_TremblayPosted on 2009-11-02 at 07:31:00ID: 25720238

mysql> show global variables;
+----------------------------------+-------------------------------------------------------------+
| Variable_name                    | Value                                                       |
+----------------------------------+-------------------------------------------------------------+
| auto_increment_increment         | 1                                                           |
| auto_increment_offset            | 1                                                           |
| autocommit                       | ON                                                          |
| automatic_sp_privileges          | ON                                                          |
| back_log                         | 50                                                          |
| basedir                          | /mysql051_root/vms/                                         |
| big_tables                       | OFF                                                         |
| binlog_cache_size                | 1048576                                                     |
| binlog_format                    | MIXED                                                       |
| bulk_insert_buffer_size          | 4194304                                                     |
| character_set_client             | latin1                                                      |
| character_set_connection         | latin1                                                      |
| character_set_database           | latin1                                                      |
| character_set_filesystem         | binary                                                      |
| character_set_results            | latin1                                                      |
| character_set_server             | latin1                                                      |
| character_set_system             | utf8                                                        |
| character_sets_dir               | /mysql051_root/sql/share/charsets/                          |
| collation_connection             | latin1_swedish_ci                                           |
| collation_database               | latin1_swedish_ci                                           |
| collation_server                 | latin1_swedish_ci                                           |
| completion_type                  | 0                                                           |
| concurrent_insert                | 1                                                           |
| connect_timeout                  | 10                                                          |
| datadir                          | /mysql051_root/data/                                        |
| date_format                      | %Y-%m-%d                                                    |
| datetime_format                  | %Y-%m-%d %H:%i:%s                                           |
| default_week_format              | 0                                                           |
| delay_key_write                  | ON                                                          |
| delayed_insert_limit             | 100                                                         |
| delayed_insert_timeout           | 300                                                         |
| delayed_queue_size               | 1000                                                        |
| div_precision_increment          | 4                                                           |
| engine_condition_pushdown        | ON                                                          |
| error_count                      | 0                                                           |
| event_scheduler                  | ON                                                          |
| expire_logs_days                 | 0                                                           |
| flush                            | OFF                                                         |
| flush_time                       | 0                                                           |
| foreign_key_checks               | ON                                                          |
| ft_boolean_syntax                | + -><()~*:""&|                                              |
| ft_max_word_len                  | 84                                                          |
| ft_min_word_len                  | 4                                                           |
| ft_query_expansion_limit         | 20                                                          |
| ft_stopword_file                 | (built-in)                                                  |
| general_log                      | OFF                                                         |
| general_log_file                 | /mysql051_root/data/ccr.log                                 |
| group_concat_max_len             | 1024                                                        |
| have_compress                    | YES                                                         |
| have_crypt                       | YES                                                         |
| have_csv                         | YES                                                         |
| have_dynamic_loading             | YES                                                         |
| have_geometry                    | YES                                                         |
| have_innodb                      | YES                                                         |
| have_ndbcluster                  | NO                                                          |
| have_openssl                     | DISABLED                                                    |
| have_partitioning                | YES                                                         |
| have_query_cache                 | YES                                                         |
| have_rtree_keys                  | YES                                                         |
| have_ssl                         | DISABLED                                                    |
| have_symlink                     | YES                                                         |
| hostname                         | ccr.alcan.biz                                               |
| identity                         | 0                                                           |
| init_connect                     |                                                             |
| init_file                        |                                                             |
| init_slave                       |                                                             |
| innodb_additional_mem_pool_size  | 8388608                                                     |
| innodb_autoextend_increment      | 8                                                           |
| innodb_autoinc_lock_mode         | 1                                                           |
| innodb_buffer_pool_size          | 67108864                                                    |
| innodb_checksums                 | ON                                                          |
| innodb_commit_concurrency        | 0                                                           |
| innodb_concurrency_tickets       | 500                                                         |
| innodb_data_file_path            | ibdata1:100M:autoextend                                     |
| innodb_data_home_dir             | /mysql051_root/data/                                        |
| innodb_doublewrite               | ON                                                          |
| innodb_fast_shutdown             | 1                                                           |
| innodb_file_io_threads           | 4                                                           |
| innodb_file_per_table            | OFF                                                         |
| innodb_flush_log_at_trx_commit   | 1                                                           |
| innodb_flush_method              |                                                             |
| innodb_force_recovery            | 0                                                           |
| innodb_lock_wait_timeout         | 120                                                         |
| innodb_locks_unsafe_for_binlog   | OFF                                                         |
| innodb_log_buffer_size           | 8388608                                                     |
| innodb_log_file_size             | 33554432                                                    |
| innodb_log_files_in_group        | 3                                                           |
| innodb_log_group_home_dir        | /mysql051_root/data/                                        |
| innodb_max_dirty_pages_pct       | 90                                                          |
| innodb_max_purge_lag             | 0                                                           |
| innodb_mirrored_log_groups       | 1                                                           |
| innodb_open_files                | 300                                                         |
| innodb_rollback_on_timeout       | OFF                                                         |
| innodb_support_xa                | ON                                                          |
| innodb_sync_spin_loops           | 20                                                          |
| innodb_table_locks               | ON                                                          |
| innodb_thread_concurrency        | 8                                                           |
| innodb_thread_sleep_delay        | 10000                                                       |
| innodb_use_adaptive_hash_indexes | ON                                                          |
| insert_id                        | 0                                                           |
| interactive_timeout              | 28800                                                       |
| join_buffer_size                 | 2097152                                                     |
| keep_files_on_create             | OFF                                                         |
| key_buffer_size                  | 8388608                                                     |
| key_cache_age_threshold          | 300                                                         |
| key_cache_block_size             | 1024                                                        |
| key_cache_division_limit         | 100                                                         |
| language                         | /mysql051_root/sql/share/english/                           |
| large_files_support              | ON                                                          |
| large_page_size                  | 0                                                           |
| large_pages                      | OFF                                                         |
| last_insert_id                   | 0                                                           |
| lc_time_names                    | en_US                                                       |
| license                          | GPL                                                         |
| local_infile                     | ON                                                          |
| log                              | OFF                                                         |
| log_bin                          | ON                                                          |
| log_bin_trust_function_creators  | OFF                                                         |
| log_bin_trust_routine_creators   | OFF                                                         |
| log_error                        |                                                             |
| log_output                       | FILE                                                        |
| log_queries_not_using_indexes    | OFF                                                         |
| log_slave_updates                | OFF                                                         |
| log_slow_queries                 | ON                                                          |
| log_warnings                     | 1                                                           |
| long_query_time                  | 2.000000                                                    |
| low_priority_updates             | OFF                                                         |
| lower_case_file_system           | ON                                                          |
| lower_case_table_names           | 1                                                           |
| max_allowed_packet               | 2097152                                                     |
| max_binlog_cache_size            | 4294967295                                                  |
| max_binlog_size                  | 1073741824                                                  |
| max_connect_errors               | 10                                                          |
| max_connections                  | 100                                                         |
| max_delayed_threads              | 20                                                          |
| max_error_count                  | 64                                                          |
| max_heap_table_size              | 4194304                                                     |
| max_insert_delayed_threads       | 20                                                          |
| max_join_size                    | 18446744073709551615                                        |
| max_length_for_sort_data         | 1024                                                        |
| max_prepared_stmt_count          | 16382                                                       |
| max_relay_log_size               | 0                                                           |
| max_seeks_for_key                | 4294967295                                                  |
| max_sort_length                  | 1024                                                        |
| max_sp_recursion_depth           | 0                                                           |
| max_tmp_tables                   | 32                                                          |
| max_user_connections             | 0                                                           |
| max_write_lock_count             | 4294967295                                                  |
| min_examined_row_limit           | 0                                                           |
| multi_range_count                | 256                                                         |
| myisam_data_pointer_size         | 6                                                           |
| myisam_max_sort_file_size        | 10737418240                                                 |
| myisam_recover_options           | DEFAULT                                                     |
| myisam_repair_threads            | 1                                                           |
| myisam_sort_buffer_size          | 33554432                                                    |
| myisam_stats_method              | nulls_unequal                                               |
| myisam_use_mmap                  | OFF                                                         |
| net_buffer_length                | 16384                                                       |
| net_read_timeout                 | 30                                                          |
| net_retry_count                  | 10                                                          |
| net_write_timeout                | 60                                                          |
| new                              | OFF                                                         |
| old                              | OFF                                                         |
| old_alter_table                  | OFF                                                         |
| old_passwords                    | OFF                                                         |
| open_files_limit                 | 500                                                         |
| optimizer_prune_level            | 1                                                           |
| optimizer_search_depth           | 62                                                          |
| pid_file                         | /mysql051_root/data/ccr.pid                                 |
| plugin_dir                       | /mysql051_root/vms/lib/                                     |
| port                             | 3306                                                        |
| preload_buffer_size              | 32768                                                       |
| protocol_version                 | 10                                                          |
| pseudo_thread_id                 | 0                                                           |
| query_alloc_block_size           | 8192                                                        |
| query_cache_limit                | 2097152                                                     |
| query_cache_min_res_unit         | 4096                                                        |
| query_cache_size                 | 8388608                                                     |
| query_cache_type                 | ON                                                          |
| query_cache_wlock_invalidate     | OFF                                                         |
| query_prealloc_size              | 8192                                                        |
| rand_seed1                       |                                                             |
| rand_seed2                       |                                                             |
| range_alloc_block_size           | 4096                                                        |
| read_buffer_size                 | 2097152                                                     |
| read_only                        | OFF                                                         |
| read_rnd_buffer_size             | 4194304                                                     |
| relay_log                        |                                                             |
| relay_log_index                  |                                                             |
| relay_log_info_file              | relay-log.info                                              |
| relay_log_purge                  | ON                                                          |
| relay_log_space_limit            | 0                                                           |
| rpl_recovery_rank                | 0                                                           |
| secure_auth                      | OFF                                                         |
| secure_file_priv                 |                                                             |
| server_id                        | 1                                                           |
| skip_external_locking            | ON                                                          |
| skip_networking                  | OFF                                                         |
| skip_show_database               | OFF                                                         |
| slave_compressed_protocol        | OFF                                                         |
| slave_load_tmpdir                | /mysql051_root/mysql_server/tmp/                            |
| slave_net_timeout                | 3600                                                        |
| slave_skip_errors                | OFF                                                         |
| slave_transaction_retries        | 10                                                          |
| slow_launch_time                 | 2                                                           |
| slow_query_log                   | ON                                                          |
| slow_query_log_file              | /mysql051_root/data/ccr-slow.log                            |
| sort_buffer_size                 | 8388608                                                     |
| sql_auto_is_null                 | ON                                                          |
| sql_big_selects                  | ON                                                          |
| sql_big_tables                   | OFF                                                         |
| sql_buffer_result                | OFF                                                         |
| sql_log_bin                      | ON                                                          |
| sql_log_off                      | OFF                                                         |
| sql_log_update                   | ON                                                          |
| sql_low_priority_updates         | OFF                                                         |
| sql_max_join_size                | 18446744073709551615                                        |
| sql_mode                         | REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ANSI |
| sql_notes                        | ON                                                          |
| sql_quote_show_create            | ON                                                          |
| sql_safe_updates                 | OFF                                                         |
| sql_select_limit                 | 18446744073709551615                                        |
| sql_slave_skip_counter           |                                                             |
| sql_warnings                     | OFF                                                         |
| ssl_ca                           |                                                             |
| ssl_capath                       |                                                             |
| ssl_cert                         |                                                             |
| ssl_cipher                       |                                                             |
| ssl_key                          |                                                             |
| storage_engine                   | InnoDB                                                      |
| sync_binlog                      | 1                                                           |
| sync_frm                         | ON                                                          |
| system_time_zone                 | EST                                                         |
| table_definition_cache           | 128                                                         |
| table_lock_wait_timeout          | 50                                                          |
| table_open_cache                 | 128                                                         |
| table_type                       | InnoDB                                                      |
| thread_cache_size                | 8                                                           |
| thread_handling                  | one-thread-per-connection                                   |
| thread_stack                     | 196608                                                      |
| time_format                      | %H:%i:%s                                                    |
| time_zone                        | SYSTEM                                                      |
| timed_mutexes                    | OFF                                                         |
| timestamp                        | 1257175799                                                  |
| tmp_table_size                   | 4194304                                                     |
| tmpdir                           | /mysql051_root/mysql_server/tmp/                            |
| transaction_alloc_block_size     | 8192                                                        |
| transaction_prealloc_size        | 4096                                                        |
| tx_isolation                     | SERIALIZABLE                                                |
| unique_checks                    | ON                                                          |
| updatable_views_with_limit       | YES                                                         |
| version                          | 5.1.23-rc-log                                               |
| version_comment                  | Source distribution                                         |
| version_compile_machine          | Alpha                                                       |
| version_compile_os               | OpenVMS                                                     |
| wait_timeout                     | 28800                                                       |
| warning_count                    | 0                                                           |
+----------------------------------+-------------------------------------------------------------+
257 rows in set (7.29 sec)

 

by: ushastryPosted on 2009-11-02 at 07:40:51ID: 25720347

Error log contents pls.

 

by: Francois_TremblayPosted on 2009-11-02 at 10:28:17ID: 25722088

I don't have an error log or kind of hostname.err file generated.  Might be my openVMS distribution I don't know. But here are the log of the mysqld program.  Please note that we cannot shutdown the MySQL correctly.  Always have to kill the process.   MysqlAdmin shutdown does not work and it's documented.  The process says to log error to mysqld.err but that file is never generated.  The log_error field in SHOW VARIABLES is also empty.

Here is the starting log :

CCR-DEVE$ type start_mysqld.log
$! SYLOGIN.COM désactivé par Serge Brisson le 2004-03-02.
$ Exit 1
$ exit
$ proc = f$environment("PROCEDURE")
$ if f$edit(f$getjpi("","username"),"compress") .nes. "MYSQL051_SRV"
$ else
$   run /detach -
        /input=mysql051_root:[vms.mysql]run_mysqld.com -
        /out=mysqld.log -
        /err=mysqld.err -
        /authorize -
        /priority=4 -
        /process_name=mysql051_server -
        /priv=(nosame,netmbx,tmpmbx) -
        sys$system:loginout.exe
%RUN-S-PROC_ID, identification of created process is 000EC053
$   write sys$output "mysql daemon started..."
mysql daemon started...
$ endif
$ exit
  MYSQL051_SRV job terminated at  2-NOV-2009 10:26:31.09

Here is the mysqld.log :

CCR-DEVE$ type mysqld.log;
$! SYLOGIN.COM désactivé par Serge Brisson le 2004-03-02.
$ Exit 1
$ exit
$ set process/parse=extend
$ mysqld :== $ mysql051_root:[vms.bin]mysqld
$ define sys$scratch mysql051_root:[mysql_server.tmp]
$ define /noLOG TMPDIR "/mysql051_root/mysql_server/tmp"
$ define /noLOG DECC$EFS_CASE_PRESERVE enable
$ define /noLOG DECC$EFS_CHARSET enable
$ define /noLOG DECC$READDIR_DROPDOTNOTYPE enable
$ define /noLOG DECC$FILENAME_UNIX_REPORT enable
$ define /noLOG DECC$FILE_SHARING enable
$ define /noLOG DECC$EFS_CASE_SPECIAL disable
$ define /noLOG DECC$FILENAME_UNIX_ONLY enable
$ define /noLOG DECC$ALLOW_REMOVE_OPEN_FILES enable
$ define /noLOG TCPIP$SELECT_ABORT_ON_SIGNAL enable
$ define /noLOG DECC$FD_LOCKING enable
$ define /noLOG DECC$POSIX_SEEK_STREAM_FILE enable
$ set rms/ext=20000
$ if f$trnlnm("LIBZ_SHR32") .eqs. "" then $ define LIBZ_SHR32 -
                mysql051_root:[vms.lib]libz_shr32.exe
$ if f$trnlnm("LIBZ_SHR64") .eqs. "" then $ define LIBZ_SHR64 -
                mysql051_root:[vms.lib]libz_shr64.exe
$!
$! All options except ansi defined using configuration file my.cnf
$!
$ mysqld  --ansi
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
091102 10:26:40  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Last MySQL binlog file position 0 8437, file name ./mysql-bin.000008
091102 10:26:51  InnoDB: Started; log sequence number 0 26811876
091102 10:26:52 [Note] Recovering after a crash using mysql-bin
091102 10:26:52 [Note] Starting crash recovery...
091102 10:26:52 [Note] Crash recovery finished.
091102 10:27:03 [Note] Event Scheduler: Loaded 0 events
091102 10:27:03 [Note] /CCR$DRA0/SYS0/SYSCOMMON/MYSQL051/VMS/BIN/mysqld.exe: ready for connections.
Version: '5.1.23-rc-log'  socket: ''  port: 3306  Source distribution
091102 10:27:03 [Note] Event Scheduler: scheduler thread started with id 1
CCR-DEVE$

 

by: nociPosted on 2009-11-04 at 18:28:47ID: 25746253

the mysqld.err is not generated because nothing is written to it.
You might try to stop it with stop/user
that would be a slightly better way to stop a process then just the default stop
(which ignores any usermode exit handlers).
It's about the difference between a kill -HUP and a kill -KILL (9) on unix.

Are there any other users within the mysql user table?
Or are those the only two.
How about the ownership of the files? (also within the mysql database storage)

 

by: Francois_TremblayPosted on 2009-11-05 at 05:30:52ID: 25749176

I did some testing yesterday and I found something that works but I'm just not sure what it was.

I created my user using the mysql admin windows tool and made sure I refreshed the user list to see that it appears.

Directly in VMS I used flush privileges, checked the user table, etc.  Then I shutdown the database right away and restarted it and now I'm keeping the user.

We have some problems with our MySQL release on OpenVMS that sometimes freeze because it's full of temporary tables / connection that hangs.  After that, there is some sort of recovery that we see in the mysqld.log and maybe that's why it did not keep the newly created user.

 

by: Francois_TremblayPosted on 2009-11-05 at 05:32:19ID: 31646990

Comments did not fully solve the problem but they got me on the right direction.

 

by: nociPosted on 2009-11-06 at 06:03:03ID: 25759131

If temporary space is a problem, check if there is sufficient space available on the disk where they are stored.
if you have disk quota in effect on the disk. If there is sufficient pgflquo if it is memory based. (and wsquota/wsextent if there is a lot of concurrent access).

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...