ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Tags
    3. database
    Log in to post
    • All categories
    • scottalanmillerS

      MySQL Database Corruption on InnoDB

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion mysql centos centos 6 linux innodb database
      3
      0 Votes
      3 Posts
      626 Views
      scottalanmillerS

      So, easy fix, the ca_stag2 was a staging DB that was not needed and was not current. The whole thing appears to have corrupted. So I simply "moved" that entire directory to /tmp (just in case I had to put it back) and then MySQL could fire up.

    • G

      Performance Advantages to Splitting Applications from Databases

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion database
      12
      0 Votes
      12 Posts
      814 Views
      scottalanmillerS

      @matteo-nunziati said in Performance Advantages to Splitting Applications from Databases:

      @gtech yeah the only reason is saturation of resources and scaling out.
      rdbs do not scale out easily while front ends do.

      And RDBMSs tend to scale better vertically (throwing more RAM and CPU in a box) while app servers tend to scale better horizontally (throwing more, smaller boxes at it.)

    • scottalanmillerS

      Database Server vs File Server: What's Different

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion file server database server server database
      6
      0 Votes
      6 Posts
      2k Views
      scottalanmillerS

      @WrCombs said in Database Server vs File Server: What's Different:

      @scottalanmiller said in Database Server vs File Server: What's Different:

      @WrCombs said in Database Server vs File Server: What's Different:

      Is it possible for a File server to run a database server ? how would that be classified at that point ?

      No, conceptually that would not mean anything. A file server and a database server are discrete concepts.

      A single operating system can run neither, either, or both. But as servers themselves, they are discrete.

      I gotcha. It was one of those hypothetical questions

      What's messy is that technical file servers are a very, very specific form of database server. Because a file server presents a file system over a network. And a file system is a special case database.

      No one really thinks about this and absolutely no one will talk about file servers this way, but for understanding what is actually happening... file servers are special purpose database servers. And that is very easy to prove.

      So a file server is a database server, but a database server is not a file server. But file servers are so common, unique, and discrete, we treat them as totally different animals and no one considers the two to even be similar.

    • OksanaO

      Microsoft SQL Server FILESTREAM – Giving a bit of structure to your unstructured data

      Watching Ignoring Scheduled Pinned Locked Moved Starwind sql sqlserver microsoft sql database
      1
      1 Votes
      1 Posts
      508 Views
      No one has replied
    • scottalanmillerS

      Setting Up a Standard MySQL or MariaDB Database for an Application

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion database mysql mariadb rdbms how to dba system administration fedora linux centos 7 rhel 7 ubuntu centos
      5
      3 Votes
      5 Posts
      1k Views
      JaredBuschJ

      @black3dynamite said in Setting Up a Standard MySQL or MariaDB Database for an Application:

      @JaredBusch said in Setting Up a Standard MySQL or MariaDB Database for an Application:

      I like my approach to setting this up.

      Obviously, install MySQL/MariaDB first as noted above.

      Then do the following. This all needs done in the same SSH session, but otherwise things are simple.

      Choose once of these exports for your DB root password.

      The first one is for you to specify, the second generates a random one and echo's it back to you.

      # Specify your own password for MariaDB root user export DB_ROOT_PASS="somebigpasswordgoeshere" # Generate a random password for MariaDB root user export DB_ROOT_PASS="$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 30)" echo "This is your MariaDB root password: $DB_ROOT_PASS" Specify the application database name and application user name # Database user to use for application export DB_USER='yourusername' # Database name to use for application export DB_NAME='yourdatabasename' Generate or specify a random password for the database user # Specify your own password for the application's database user export DB_PASS="somebigpasswordgoeshere" # Generate a random password for the application's database user export DB_PASS="$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 30)" echo "This is your password for the application user: $DB_PASS" Then create the application database, use, and grant access. mysql -e "CREATE DATABASE $DB_NAME;" mysql -e "CREATE USER '$DB_USER'@'localhost' IDENTIFIED BY '$DB_PASS';" mysql -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost';" mysql -e "FLUSH PRIVILEGES;" Finally, lock down the system without the interactive requirement of mysql_secure_installation # Secure MariaDB (this does what mysql_secure_installation performs without interaction) mysql -e "UPDATE mysql.user SET Password=PASSWORD('$DB_ROOT_PASS') WHERE User='root';" mysql -e "DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1');" mysql -e "DELETE FROM mysql.user WHERE User='';" # Beginning on some version of MariaDB after Fedora 29 was released, the test DB is no longer there by defualt. mysql -e "DROP DATABASE test;" mysql -e "FLUSH PRIVILEGES;"

      Your approach makes it easier to use as part of a script.

      It also generates random passwords, which I prefer.

    • scottalanmillerS

      Make an osTicket Database Backup

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion osticket backup mysql mariadb mysqldump database rdbms
      8
      1 Votes
      8 Posts
      3k Views
      JaredBuschJ

      @Dashrender said in Make an osTicket Database Backup:

      Total DB Admin noob here - so bare with me.

      Does this include the username/password setup for this DB? or does that need to be maintained separately?

      i.e. you have to rebuild from this backup - do you just create a brand new SQL user and grant them rights to this DB upon import, then use that new account to give access to the app?

      In typing out my question I kinda assume the answer is the second bit - you just create a new user and assign them rights.

      Correct. The user and the database are separate things.

    • J

      Slow MS SQL Queries between Windows 10 VMs and MS SQL 2014 on same host

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion database rdbms ms sql server ms sql server 2016 sql windows 10 windows server 2016 hyper-v
      27
      2 Votes
      27 Posts
      3k Views
      J

      @pmoncho said in Slow MS SQL Queries between Windows 10 VMs and MS SQL 2014 on same host:

      @JasGot said in Slow MS SQL Queries between Windows 10 VMs and MS SQL 2014 on same host:

      Winner Winner, Chicken Dinner. It was MDTC and Windows Firewall. (Which is frustrating, because the firewall is turned off for the domain!)

      Good job at troubleshooting. I'm wondering what led you down this path versus something related to Networking, hard drives or software drivers?

      Remembered it from several years ago with another SQL based application. Don't know what made me think of it at 1:30am. But I'm ok with it!

    • JaredBuschJ

      Installing MS SQL Server Express on CentOS

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion linux centos centos 7 rhel database ms sql server ms sql server 2017 linux ms sql server 2017 guide how to
      13
      5 Votes
      13 Posts
      6k Views
      JaredBuschJ

      @Emad-R said in Installing MS SQL Server Express on CentOS:

      Et me guess it is much faster on Linux than on Windows server

      No idea, but it is one less Windows Server license needed.

      Also MS SQL Server Express works well for many tasks.

    • scottalanmillerS

      NoSQL for IT at MangoCon 2019 Topic

      Watching Ignoring Scheduled Pinned Locked Moved MangoCon mangocon mangocon 2019 nosql database scott alan miller mongodb cassandra scylladb redis dgraph dba
      1
      3 Votes
      1 Posts
      658 Views
      No one has replied
    • J

      Free Veeam for DGraph Linux Restore

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion veeam linux centos dgraph database nosql clustered database veeam linux agent backup disaster recovery
      76
      2 Votes
      76 Posts
      5k Views
      scottalanmillerS

      So, circling back. How is the backup project going?

    • WrCombsW

      Data Base Management

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion database management view dbfs
      49
      1 Votes
      49 Posts
      3k Views
      1

      @dave_c said in Data Base Management:

      @Pete-S
      We were not sure they were dBase files. Even Oracle database uses .dbf extension for data files.

      I understand. You can't be sure until you try but usually you'll know if you're running Oracle because you'll have oracle listener and other services running as well as a completely different folder structure. When you find files that are dbf somewhere, they're usually dBase because you can make a small database inside an application just by importing some libraries. So dBase isn't something that has to be installed on the computer but Oracle is.

    • magicmarkerM

      Looking for an alternative database to MS SQL to process a text file.

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion database ms sql server mysql mariadb rdbms
      33
      0 Votes
      33 Posts
      3k Views
      Emad RE

      @magicmarker

      Why dont they create one giant hazardous label to fit all the products, and make it generic as possible.

      Like this product contains hazardous chemicals.

      it is not like someone actual reads that small fine print.

      Another problem solved...

    • scottalanmillerS

      MongoDB Major Change to Licensing

      Watching Ignoring Scheduled Pinned Locked Moved Developer Discussion mongodb open source licensing database nosql
      78
      1 Votes
      78 Posts
      8k Views
      scottalanmillerS

      @StorageNinja said in MongoDB Major Change to Licensing:

      @scottalanmiller said in MongoDB Major Change to Licensing:

      if you are a SaaS vendor looking at building software that uses MongoDB somewhere, you'd better get a lawyer looking over this license and how it applies to you.

      This is becoming a bigger issue as the biggest SaaS vendors hide behind this clause more and more with incredibly proprietary forks. They offer very little to no actual core development or contribution and it goes against the previous method of GPL code getting funding.

      It annoys me, as the legal headaches of contributing internal only use code back will block some companies from using OSS, but I see it both ways.

      The startups who are doing a lot of the core housekeeping of NOSQL platforms are learning they can't find a business model. This is getting messier and messier.

      Partially because there are just too any vendors involved.

      What's amazing, though, is that a move like this took a customer who was very into MongoDB and using it in projects and was literally working with MongoDB's own hosted product and now looking to avoid it like the plague.

      So at least in this one case, they are likely losing hosted product from this. And gaining nothing. I imagine a lot of customers going through this same process.

    • scottalanmillerS

      Working with SQLite on Fedora from Command Line and GUI

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion fedora linux database relational database sqlite fedora 28 sqliteman
      2
      1 Votes
      2 Posts
      1k Views
      scottalanmillerS

      If you want to exit the SQLite command line shell, the command is dot exit... .exit

    • OksanaO

      How to back up your SQL Server databases to Azure without a hassle

      Watching Ignoring Scheduled Pinned Locked Moved Starwind sql server sql microsoft sql database azure azure backup
      1
      1 Votes
      1 Posts
      629 Views
      No one has replied
    • OksanaO

      Ensure your database high availability with SQL Server AlwaysOn FCIs

      Watching Ignoring Scheduled Pinned Locked Moved Starwind high availability sql always-on vsan database starwind vsan
      1
      1 Votes
      1 Posts
      565 Views
      No one has replied
    • scottalanmillerS

      MongoDB Storage Engine Error Detected MMapV1 and wiredTiger

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion mmapv1 wiredtiger mongodb mongodb 3 database nosql
      3
      0 Votes
      3 Posts
      4k Views
      scottalanmillerS

      @jaredbusch said in MongoDB Storage Engine Error Detected MMapV1 and wiredTiger:

      @scottalanmiller okay, they totally fucked this up.

      Yeah, this is some weird stuff.

    • scaleS

      MS SQL Server Best Practice Guide on Scale HC3

      Watching Ignoring Scheduled Pinned Locked Moved Scale Legion scale scale hc3 ms sql server database
      3
      8 Votes
      3 Posts
      1k Views
      scaleS

      @jaredbusch said in MS SQL Server Best Practice Guide on Scale HC3:

      You actually get your SMB clients to plan ahead? /gasp!

      We try!

    • OksanaO

      Deploy SQL Server 2016 Basic Availability Groups without Active Directory and ensure High Availability for your mission-critical databases

      Watching Ignoring Scheduled Pinned Locked Moved Starwind sql server 2016 basic availability groups bags high availability database sql server 2016 standard edition availability groups sql server always on always on availability groups mission-critical databases starwind blog
      1
      1 Votes
      1 Posts
      768 Views
      No one has replied
    • mlnewsM

      PostgreSQL 10.1 Released

      Watching Ignoring Scheduled Pinned Locked Moved News database rdbms postgresql postgresql 10 postgresql 10.1 relational database phoronix
      1
      4 Votes
      1 Posts
      832 Views
      No one has replied
    • 1
    • 2
    • 3
    • 4
    • 5
    • 2 / 5