mysql – ERROR 1794 (HY000): The slave is not configured or could not be properly initialized

This is my my.cnf file

[mysqld]

server_id = 1
log_bin = /var/log/mysql/mysql-bin.log
log_bin_index = /var/log/mysql/mysql-bin.log.index
relay_log = / var / log / mysql / mysql-relay-bin
relay_log_index = /var/log/mysql/mysql-relay-bin.index
expire_logs_days = 10
max_binlog_size = 100M
log_slave_updates = 1
Auto-increment increment = 2
Auto increment offset = 1
Binding address = 0.0.0.0

I clearly mentioned the server-d in my.cnf, but I get this error when I stop the slave.

Stop slave;
ERROR 1794 (HY000): Slave is not configured or could not be initialized properly. You must set at least –server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log.

Anyone can help me as soon as possible.

c # – I get and the ConnectionString property was not initialized when I try to enter data into my database twice

I can enter the data for the first time, but when I try to enter something else, I say the ConnectionString property was not initialized.
I hope someone can help me
: ///, -, -, – /////////
: ///, -, -, – ///

with system;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;

Namespace DM_app.Modeli
{
public static class DB
{
private static string connectionString = @ "datasource =
(LocalDB)  MSSQLLocalDB; AttachDbFilename =
C:  Users  Kira  Documents  BazaPodatakaDeliverMe.mdf; Integrated security
True; Connection timeout = 30 ";

internal static SqlConnection con = new
SqlConnection (connectionString);

internal static void OpenCon ()
{
con.Open ();
}

internal static void CloseCon ()
{
con.Close ();
}
}
}







CODE FOR THE BUTTON

using (SqlConnection com = DB.con)
{

DB.OpenCon ();
int a = Prijavljeni_korisnik.id_pro;
SqlCommand sqlCmd = new SqlCommand ("OdjelAdd", com);
sqlCmd.CommandType = CommandType.StoredProcedure;
sqlCmd.Parameters.AddWithValue ("@ NazivOdjela", metroTextBox8.Text.Trim ());
sqlCmd.Parameters.AddWithValue ("@ProdavacID", a);
sqlCmd.ExecuteNonQuery ();
DB.CloseCon ();
MessageBox.Show ("Podaci su pohranjeni.");
Clear();

vb.net – The name of the field or property initialized in an object initializer must match & # 39; & # 39; begin.

I'm trying to make a gallery of images, but it looks like I've made a mistake and can not find a reference or solution to it.
That gives me the mistake.

The name of the field or property that you want to initialize in an object initializer must match & # 39; & # 39; Begin.

    Private myImageList As System.Windows.Forms.ImageList = New ImageList ()
Private myImageListSmall As System.Windows.Forms.ImageList = New ImageList ()
Private myImageListLarge As System.Windows.Forms.ImageList = New ImageList ()
Private count As Integer = 0
Private ofd Like new OpenFileDialog () with {_
Key .Multiselect = True, _
Key .ValidateNames = True, _
Key .Filter = "JPG | * jpg | JPEG | * .jpeg | PNG | * .png"
}
Private fi As FileInfo

ssdt – The test connection failed because the provider oracle or a -01019 was not initialized

I'm having trouble connecting my SSDT 2010 to an instance of Oracle (11g). The mistake The test connection failed because the provider oracle or a -01019 was not initialized, Earlier in the day, I was able to connect to the database with my server name and IP address. I had mapped the Oracle database with my SQL table, but running the data flow process resulted in unrestricted data errors, which I corrected. Suddenly, however, I noticed the caanot connection error and tried to test the connection again. Then the mistake in the title. Actually, I have several Oracle clients installed, the SQL Plus connects to the remote server without errors. I need urgent help. I have also set the TNSnames.ora path in the environment variables … please help

ubuntu – My server network is not initialized

I tried to update my Linux kernel. After the restart, the network can not be started and I get some problems:

Here is my ifconfig -a

1: lo:  mtu 65536 qdisc noqueue state UNKNOWN Node DEFAULT
Group default Qlen 1000
link / loopback 00: 00: 00: 00: 00: 00 brd 00: 00: 00: 00: 00

And / etc / network / interfaces

source /etc/network/interfaces.d/*

car lo
iface lo inet loopback
iface lo inet6 loopback

car lo
iface lo inet static
Address 176.9.136.111
Netmask 255.255.255.224
Gateway 176.9.136.97
# route 176.9.136.96/27 via 176.9.136.97
up route add -net 176.9.136.96 Netmask 255.255.255.224 gw 176.9.136.97 dev lo

iface lo inet6 static
Address 2a01: 4f8: 160: 1069 :: 2
Netmask 64
Gateway fe80 :: 1

When I try it: ifdown lo:

ifdown: interface lo is not configured

When I try it: ifup lo:

RTNETLINK answers: file exists
Lo could not be started.

So what should I do? I desperately need your help as there are business files on this server.

The Add Media button does not work if the editor is initialized via Javascript

I'm trying to instantiate the wp_editor with javascript, which works fine except that the "Add Media" button does not work. There are no errors, but clicking the button does nothing.

The simplest test case I can think of is adding the editor to the comment form that I made about this code in a twenty-year full-content children's theme (using the Hello World! Post for testing).

add_action (& # 39; wp_enqueue_scripts & # 39 ;, function () {
if (is_single () && comments_open ()) {
wp_enqueue_editor ();
}
});

add_action (& # 39; wp_footer & # 39 ;, function () {
?>



<? php
}, 100);

The mediaButtons setting is used to show / hide the button itself, but it does not work.

I have the problem on a 4.9.8 site (custom theme), both in the comment box and in other text areas that I've tried. The simplified test (above) was 5.0, and the same symptom appears with and without the Classic Editor plug-in enabled.

I tried to print the editor to php via wp_editor (), and the Add Media button works fine (for example, for the comment field). However, this is not an option other than testing because the text areas to be used are added dynamically via Javascript.

Does anyone have any ideas that you can try, or does anyone have a configuration where instantiating the editor via wp.editor.initialize () results in a working Add Media button?

Driver – NVIDIA kernel module could not be initialized

I use XUbuntu 16.04 with a Nvidia 1080ti and 4 monitors. I use an Xrandr script to switch between three to work, and the fourth, which is a TV.

Yesterday, while running this script, the system crashed while running a GPU background. I ran the script, the 3 monitors went black, but the fourth never got a signal.
I could no longer get a display output and had to turn the system off and on again. I think the crash was not just the display system, because the music playback was also stopped.

Today I noticed that the nvidia kernel module does not seem to load anymore. The 1080p TV still gets a decent 1080p look-out, but all 3 other monitors that use the DisplayPort 1440p only get a 640×480 resolution.
I can not activate several at the same time.

I have the message "The NVIDIA kernel module could not be initialized. For more information on error messages, see the System Kernel Log" in /var/log/Xorg.0.log

In /var/log/kern.log states: "nvidia: version magic & # 39; 4.4.0-139-generic SMP mod_unload modversions should be & # 39; 4.4.0-139-generic SMP mod_unload modvers retpoline & # 39; logger may be a couple of dozen times at system startup

Googe was not helpful with these messages.

I've tried to use software-properties-gtk –open-tab = 4 to select different driver versions, nvidia, but also the default Ubuntu driver. No one makes a difference, the problem persists.

I've also tried removing all nvidia drivers, but this also has no visible impact.

I also thought that this could have some issues with my xorg.conf or Monitors.xml, but none of these files seem to exist on my system. Not sure if they should exist.

I have a Windows 7 dual boot that shows no signs of problems, except that somehow I do not get the full 144 Hz of my 144 Hz center monitor, but only 85. I suspect this is unrelated since it's like that for a few weeks. It was probably caused by a video driver update on Windows and I was too lazy to fix it because I have not played much lately.

How do I go about fixing the problem? I have no ideas what to do.