Skip to main content

Posts

[FIX]Illuminate\Database\QueryException SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client (SQL: select * from information_schema.tables where table_schema = enrolmentsystem and table_name = migrations and table_type = 'BASE TABLE')

Illuminate\Database\QueryException    SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client (SQL: select * from information_schema.tables where table_schema = enrolmentsystem and table_name = migrations and table_type = 'BASE TABLE')   at vendor/laravel/framework/src/Illuminate/Database/Connection.php:678     674▕         // If an exception occurs when attempting to run a query, we'll format the error     675▕         // message to include the bindings with SQL, which will make this exception a     676▕         // lot more helpful to the developer instead of just the database's errors.     677▕         catch (Exception $e) {   ➜ 678▕             throw new QueryException(     679▕                 $query, $this->prepareBindings($bindings), $e     680▕             );     681▕         }     682▕        +33 vendor frames    34  artisan:37       Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput),
Recent posts

Extensible Markup Language (XML)

Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. XML is  much like HTML but HTML is designed to display data where as XML is designed to store and transport data. Tags in XML are not predefined as in HTML. We can define our own tags.

10Base-2

10Base-2 is a type of Ethernet used to create Local Area Network. These are known as ThinNet as it uses 50ohm coaxial cable which is more flexible and thinner than the cable that is used by 10Base-5 standard. The maximum length of the cable supported by 10Base-2 is 185 meters and have the maximum capacity of 10Mbit/s. The cables are terminated using BNC connectors and Network Interface Card in a computer require a T-connector to connect using BNC connectors.

Multimedia data support in commercial DBMS

There are three kinds of DBMS that is available Commercially: 1.       Relational DMBS (RDBMS) Oracle support three large object types that are used to store multimedia data types with Oracle InterMedia: a.        BLOB (Binary Large Objects):                                                               i.       Stores unstructured binary data in database                                                             ii.       Can store up to 4 GB b.       CLOB (Character Large Objects)                                                               i.       Single-byte character set data                                                             ii.       Sores up to 4GB c.        NCLOB (National character set Character Large Objects)                                                               i.       Fixed-width and varying width multi-byte national character set data                                                             ii.       Stores up to 4 GB Relat

SAP-1(Simple as Possible-1) Computer Architecture Introduction

The Simple-As-Possible (SAP)-1 computer is a very basic model of a microprocessor explained by Albert Paul Malvino. The SAP-1 design contains the basic necessities for a functional Microprocessor. Its primary purpose is to develop a basic understanding of how a microprocessor works, interacts with memory and other parts of the system like input and output. The instruction set is very limited and is simple. The features in SAP-1 computer are: W bus – A single 8 bit bus for address and data transfer.  16 Bytes memory (RAM)  Registers are accumulator and B-register each of 8 bits.  Program counter – initializes from 0000 to 1111 during program execution.  Memory Address Register (MAR) to store memory addresses.  Adder/ Subtracter for addition and subtraction instructions.  A Control Unit  A Simple Output.  6 machine state reserved for each instruction  The instruction format of SAP-1 Computer is (XXXX) (XXXX) A Simple animation to demonstrate the working of SAP I:

Compiler-Construction Tools

Some commonly used compiler-construction tools include: Parser generators that automatically produce syntax analyzers from a grammatical description of a programming language.  Scanner generators that produce lexical analyzers from a regular-expression description of the tokens of a language.  Syntax-directed translation engines that produce collections of routines for walking a parse tree and generating intermediate code.  Code-generator generators that produce a code generator from a collection of rules for translating each operation of the intermediate language into the machine language for a target machine.  Data-flow analysis engines that facilitate the gathering of information about how values are transmitted from one part of a program to each other part. Data-flow analysis is a key part of code optimization.  Compiler-construction toolkits that provide an integrated set of routines for constructing various phases of a compiler